Exit code of git-ls-remote
- From
Kacper Kornet <draenog@pld-linux.org>
- Date
- May 12, 2011, 12:05 UTC
- Message-ID
- <20110512120536.GA22033@camk.edu.pl>
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