Um .. yes ... as per the comment in refs.c ... :$
The thing is, that wasn't what I expected. From looking at the code for
symbolic-ref I was expecting:
$ git symbolic-ref no-such; echo $?
fatal: No such ref: no-such
128
In particular, in quiet mode you will get a return of 1 - rather than
128, which would potentially lead you astray if you belived the man page
...
--
Julian
---
"Intelligence without character is a dangerous thing."
-- G. Steinem
-
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