git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* The big git command renaming..
@ 2005-04-29 21:24 Linus Torvalds
  2005-04-29 21:35 ` Dave Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Linus Torvalds @ 2005-04-29 21:24 UTC (permalink / raw)
  To: Git Mailing List


Ok, I hate to do this, since my fingers have already gotten used to the 
old names, but we clearly can't continue to use command names like 
"update-cache" or "read-tree" that are totally non-git-specific.

So I just pushed out a change that renames the commands to always have a 
"git-" prefix. In addition, I renamed "show-diff" to "diff-files", with 
together with the prefix means that it becomes "git-diff-files" when used.

Since I end up using tab-completion for almost all my work, and since
-within- the source directory there's no confusion, I didn't actually name
the source files with any git- prefix. Quite the reverse: I removed the
prefix from the two .c files that already had it (so git-mktag.c is now
just "mktag.c"), and the general rule for building the executable from a C 
file is now

	git-%: %.c $(LIB_FILE)
		$(CC) $(CFLAGS) -o $@ $(filter %.c,$^) $(LIBS)


this seemed to be a nice regular interface that means that binaries get 
installed with clear "git-" prefixes, but that I don't have to look at 
them when I edit the sources.

Sorry to everybody else whose fingers have already learnt the old names. 
The good news is that if you use cogito, you won't care.

		Linus

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-04-30 14:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-29 21:24 The big git command renaming Linus Torvalds
2005-04-29 21:35 ` Dave Jones
2005-04-29 21:58   ` H. Peter Anvin
2005-04-29 22:14     ` Linus Torvalds
2005-04-29 23:09       ` H. Peter Anvin
2005-04-29 23:39         ` Linus Torvalds
2005-04-29 23:42           ` H. Peter Anvin
2005-04-29 21:41 ` [PATCH] The big git command renaming fallout fix Junio C Hamano
2005-04-29 21:53   ` [PATCH] Makefile: " Junio C Hamano
2005-04-30 14:24 ` The big git command renaming Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).