summaryrefslogtreecommitdiff
path: root/t/annotate-tests.sh
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2013-05-01 09:25:52 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-01 10:13:32 -0700
commit3212d56ce528a86170f7809659f80a8769a5875f (patch)
tree31f08871861c45c7510d8bcbd001934fe0cfcb2f /t/annotate-tests.sh
parentMerge branch 'fc/zsh-completion' into maint (diff)
downloadtgif-3212d56ce528a86170f7809659f80a8769a5875f.tar.xz
contrib/subtree: don't delete remote branches if split fails
When using "git subtree push" to split out a subtree and push it to a remote repository, we do not detect if the split command fails which causes the LHS of the refspec to be empty, deleting the remote branch. Fix this by pulling the result of the split command into a variable so that we can die if the command fails. Reported-by: Steffen Jaeckel <steffen.jaeckel@stzedn.de> Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/annotate-tests.sh')
0 files changed, 0 insertions, 0 deletions