mirror of
https://github.com/git/git.git
synced 2026-01-16 13:49:39 +00:00
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>
36 KiB
Executable File
36 KiB
Executable File