summaryrefslogtreecommitdiff
path: root/t/t7105-reset-patch.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-10-25 02:52:30 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-10-25 14:54:17 -0700
commit954312a3ff76652a954b730ae69a031f98293a99 (patch)
tree188a014d9f51b994950797e73d46450adf886de0 /t/t7105-reset-patch.sh
parentUpdate draft release notes to 1.8.5 (diff)
downloadtgif-954312a3ff76652a954b730ae69a031f98293a99.tar.xz
add-interactive: handle unborn branch in patch mode
The list_modified function already knows how to handle an unborn branch by diffing against the empty tree. However, the diff we perform to get the actual hunks does not. Let's use the same logic for both diffs. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7105-reset-patch.sh')
0 files changed, 0 insertions, 0 deletions