git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Exit code of git-ls-remote
@ 2011-05-12 12:05 Kacper Kornet
  2011-05-12 16:21 ` Junio C Hamano
  0 siblings, 1 reply; 10+ messages in thread
From: Kacper Kornet @ 2011-05-12 12:05 UTC (permalink / raw)
  To: git

git-ls-remote behaves differently then git-show-ref when it cannot find
any matching refs. While the latter returns non zero exit code in this
case, the former always returns 0. Is there any specific reason for this
behaviour?

-- 
  Kacper Kornet

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

end of thread, other threads:[~2011-05-18 21:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 12:05 Exit code of git-ls-remote Kacper Kornet
2011-05-12 16:21 ` Junio C Hamano
2011-05-12 16:41   ` Junio C Hamano
2011-05-18 14:15     ` [RFC/PATCH] ls-remote: optionally return non-zero on non-existing refs Michael Schubert
2011-05-18 16:59       ` Thiago Farina
2011-05-18 18:28       ` Junio C Hamano
2011-05-18 20:06         ` [PATCH v2] " Michael Schubert
2011-05-18 21:19           ` Andreas Schwab
2011-05-18 21:38             ` Junio C Hamano
2011-05-18 21:53               ` Michael Schubert

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).