git-sh-setup: die if outside git repository.
Now all the users of this script detect its exit status and die, complaining that it is outside git repository. So move the code that dies from all callers to git-sh-setup script. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
## $3 - "info" file with Author, email and subject
|
||||
## $4 - optional file containing signoff to add
|
||||
##
|
||||
. git-sh-setup || die "Not a git archive."
|
||||
. git-sh-setup
|
||||
|
||||
final=.dotest/final-commit
|
||||
##
|
||||
|
Reference in New Issue
Block a user