summaryrefslogtreecommitdiff
path: root/t/t4013/diff.format-patch_--stdout_initial..master^
diff options
context:
space:
mode:
authorLibravatar Erik Faye-Lund <kusmabite@gmail.com>2009-03-23 12:53:08 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-04-19 12:29:26 -0700
commit426193c025eb76125a99b3fe143eea50e849f9ca (patch)
tree85eebe940062233481c43af23618c98ad60c4a6e /t/t4013/diff.format-patch_--stdout_initial..master^
parentbuiltin-fast-export.c: turn error into warning (diff)
downloadtgif-426193c025eb76125a99b3fe143eea50e849f9ca.tar.xz
builtin-fast-export.c: fix crash on tagged trees
If a tag object points to a tree (or another unhandled type), the commit- pointer is left uninitialized and later dereferenced. This patch adds a default case to the switch that issues a warning and skips the object. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions