commit | 3e4068ed90fd3c6f24303560113aae6dbb758699 | [log] [tgz] |
---|---|---|
author | Jeff King <peff@peff.net> | Sun Dec 20 02:27:18 2015 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Dec 21 12:03:03 2015 -0800 |
tree | 961357513efbe7e6985801d5d024c39e17b03d0e | |
parent | a2558fb8e1e387b630312311e1d22c95663da5d0 [diff] |
symbolic-ref: propagate error code from create_symref() If create_symref() fails, git-symbolic-ref will still exit with code 0, and our caller has no idea that the command did nothing. This appears to have been broken since the beginning of time (e.g., it is not a regression where create_symref() stopped calling die() or something similar). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>