commit | 1ca38f85860b33ddc79b1494baf29aecde8616cd | [log] [tgz] |
---|---|---|
author | Martin von Zweigbergk <martinvonz@gmail.com> | Mon Jan 14 21:47:42 2013 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Jan 15 09:38:07 2013 -0800 |
tree | e006fb78cad200db0da68a3bebc4b4c6445a6788 | |
parent | b7099a06e8ffe61a06d3e32632e832e59f23bd4d [diff] |
reset: avoid redundant error message If writing or committing the new index file fails, we print "Could not write new index file." followed by "Could not reset index file to revision $rev.". The first message seems to imply the second, so print only the first message. Signed-off-by: Martin von Zweigbergk <martinvonz@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>