aboutsummaryrefslogtreecommitdiff
path: root/git_remote_helpers/git
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-05-12 07:09:46 -0400
committerJunio C Hamano <gitster@pobox.com>2011-05-16 13:00:30 -0700
commit161807349aa1ee853880a5c6e39c53f55b10077d (patch)
treeaaf6d538b6c81fddf445b6f649042aed125571f9 /git_remote_helpers/git
parent96dbe93da541cb930bacd4e2df0a95e41d4c6441 (diff)
downloadgit-161807349aa1ee853880a5c6e39c53f55b10077d.tar.gz
git-161807349aa1ee853880a5c6e39c53f55b10077d.tar.xz
cherry-pick: handle root commits with external strategies
The merge-recursive strategy already handles root commits; it cherry-picks the difference between the empty tree and the root commit's tree. However, for external strategies, we dereference NULL and segfault while building the argument list. Instead, let's handle this by passing the empty tree sha1 to the merge script. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git_remote_helpers/git')
0 files changed, 0 insertions, 0 deletions