Git development
 help / color / mirror / Atom feed
* rev-parse, unknown arguments and extended sha1's
@ 2005-06-24 12:24 Sven Verdoolaege
  2005-06-24 16:09 ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Verdoolaege @ 2005-06-24 12:24 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: git

Is git-rev-parse supposed to echo arguments it doesn't understand ?
It currently does, but git-checkout-script seems to think it doesn't:

                rev=$(git-rev-parse "$arg")   
                if [ -z "$rev" ]; then
                        echo "unknown flag $arg"
                        exit 1
                fi

Also, is there any reason why the extended sha1 notation
is restricted to the scripts and not used in the actual
plumbing ?

skimo

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

end of thread, other threads:[~2005-06-24 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-24 12:24 rev-parse, unknown arguments and extended sha1's Sven Verdoolaege
2005-06-24 16:09 ` Linus Torvalds
2005-06-24 16:17   ` Sven Verdoolaege
2005-06-24 16:43     ` Linus Torvalds
2005-06-24 17:32       ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox