On Tue, Aug 31, 2010 at 8:42 PM, Jonathan Nieder [off-list ref] wrote:
Junio C Hamano wrote:
quoted
Hmm, why isn't this a single liner
quoted
- usagef("%s <base>... -- <head> <remote> ...", argv[0]);
+ usagef("git %s <base>... -- <head> <remote> ...", argv[0]);
I can't speak for Thiago, but I assume it's for unity of style with
more complicated commands like "git fetch" that include a usage
message at the top of the file as:
- a quick introduction for people who don't like to scroll
- a variable that can be used from other functions when command-line
mistakes are noticed late.
Precise explanation :-)
Thanks Jonathan.