Re: print errors from git-update-ref
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 27, 2006, 11:04 UTC
- Message-ID
- <Pine.LNX.4.63.0607271302150.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20060727012856.GB32492@spearce.org>
Hi,
On Wed, 26 Jul 2006, Shawn Pearce wrote:
> This change adds a test for trying to create a ref within a directory > that is actually currently a file, and adds error printing within > the ref locking routine should the resolve operation fail.
Why not just print an error message when the resolve operation fails, instead of special casing this obscure corner case? It is way shorter, too. The test should stay, though.
Ciao, Dscho