summaryrefslogtreecommitdiff
path: root/t/t9132-git-svn-broken-symlink.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-02-23 19:22:27 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-23 11:53:21 -0800
commit8efb8899cfe866dddb3659b9e0a94232161db65e (patch)
treeddd5923a81c5050afc629b45ce02b09fad51dfec /t/t9132-git-svn-broken-symlink.sh
parentbranch: let branch filters imply --list (diff)
downloadtgif-8efb8899cfe866dddb3659b9e0a94232161db65e.tar.xz
branch: segfault fixes and validation
branch_get() can return NULL (so far on detached HEAD only) but some code paths in builtin/branch.c cannot deal with that and cause segfaults. While at there, make sure to bail out when the user gives 2 or more branches with --set-upstream-to or --unset-upstream, where only the first branch is processed and the rest silently dropped. Reported-by: Per Cederqvist <cederp@opera.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9132-git-svn-broken-symlink.sh')
0 files changed, 0 insertions, 0 deletions