summaryrefslogtreecommitdiff
path: root/git-parse-remote.sh
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-03-29 19:48:43 -0700
commitc0582c53bcf4e83bba70e1ad23abbad31f96ebc8 (patch)
treebd5a8222f3352aba250a1777a764ccffc194e330 /git-parse-remote.sh
parentbuiltin-fast-export.c: turn error into warning (diff)
downloadtgif-c0582c53bcf4e83bba70e1ad23abbad31f96ebc8.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 'git-parse-remote.sh')
0 files changed, 0 insertions, 0 deletions