Skip to contentSkip to conversation

Human friendly git: accept imperative mood.

PATCH In review Sloof Lirpa 2 participants 2 messages Jun 15, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 Human friendly git: accept imperative mood.

The traditional syntax in computerese to tell a person to do something for us is:

> thief, go west

With this patch, you can now say:

	$ git, fetch $URL
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index b159ffd..2699cff 100644
@@ -225,7 +225,7 @@ EXTRA_PROGRAMS =
 BUILT_INS = \
 	git-format-patch$X git-show$X git-whatchanged$X git-cherry$X \
 	git-get-tar-commit-id$X git-init$X git-repo-config$X \
-	git-fsck-objects$X git-cherry-pick$X \
+	git-fsck-objects$X git-cherry-pick$X git,$X \
 	$(patsubst builtin-%.o,git-%$X,$(BUILTIN_OBJS))
 
 # what 'all' will build and 'install' will install, in gitexecdir
Signature · 1 line
1.5.1.rc3.26.g4f01
#1 lore raw
Quoted 3 lines · Sloof Lirpa

With this patch, you can now say:

	$ git, fetch $URL

I assume your next patch will be:

 $ git north
 git: you are in the cellar
 $ git look
 git: you have a series of windy source code, all alike.  Commit?

Andy

Signature · 2 lines
Dr Andy Parkins, M Eng (hons), MIET
[email protected]