author | Bob Proulx <bob@proulx.com> | |
Fri, 12 Jan 2007 06:45:38 +0000 (23:45 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 12 Jan 2007 08:13:34 +0000 (00:13 -0800) | ||
commit | 397dfe67c71fdd673bb108b9c6103e4a5e750edb | |
tree | 80b99c987be0e082eb31d037e311b55611e6d6e8 | tree | snapshot |
parent | fc41be3b2e2eb2135e560077fc705dab7aade5f0 | commit | diff |
git-revert: Fix die before git-sh-setup defines it.
The code previously checked it's own name and called 'die' upon
an error. However 'die' was not yet defined because git-sh-setup
had not been sourced yet. Instead simply write the error message
to stderr and exit with an error as was originally desired.
Signed-off-by: Bob Proulx <bob@proulx.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The code previously checked it's own name and called 'die' upon
an error. However 'die' was not yet defined because git-sh-setup
had not been sourced yet. Instead simply write the error message
to stderr and exit with an error as was originally desired.
Signed-off-by: Bob Proulx <bob@proulx.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-revert.sh | diff | blob | history |