gitk handling of -- on commandline?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Sunday, March 18, 2007 - 11:36 pm

Since I often use "TMP" as a name both for files and branches, I wasn't
that suprised recently when

	gitk TMP

complained that "TMP" was ambiguous and asked me to use -- to separate
filenames from revisions.  I was a bit more surprised when it still did
that after I gave it

	gitk TMP --

I looked through the source code very quickly but it wasn't obvious to
me why this was happening.  The reverse,

	gitk -- TMP

interestingly doesn't seem to have the same problem.

--b.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
gitk handling of -- on commandline?, J. Bruce Fields, (Sun Mar 18, 11:36 pm)