diff options
| author | Philippe Blain <levraiphilippeblain@gmail.com> | 2022-06-13 12:29:41 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-06-13 11:23:13 -0700 |
| commit | 7922a17d4da969c70d9382206244b6be0a7a3475 (patch) | |
| tree | fe19da2e50ef03f43031b289b0ef7b91c723c058 /commit-graph.c | |
| parent | Prepare for 2.36.2 (diff) | |
| download | git-7922a17d4da969c70d9382206244b6be0a7a3475.tar.gz git-7922a17d4da969c70d9382206244b6be0a7a3475.zip | |
diff-format.txt: dst can be 0* SHA-1 when path is deleted, too
"dst" can legitimately be "0\{40\}" for a creation patch, e.g. when
the stat information is stale, but it falls into "look at work tree"
case. The original description in b6d8f309 ([PATCH] diff-raw format
update take #2., 2005-05-23) forgot that deletion also makes the
"dst" 0* SHA-1.
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
