summaryrefslogtreecommitdiff
path: root/Documentation/git-shortlog.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-03-17 04:23:31 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-17 12:52:14 -0700
commitf7892d181752187513f10b13f2272fa46c9c8422 (patch)
treee2c442760956bc096f33a98cc4470a7aefb6ff2f /Documentation/git-shortlog.txt
parentavoid segfaults on parse_object failure (diff)
downloadtgif-f7892d181752187513f10b13f2272fa46c9c8422.tar.xz
use parse_object_or_die instead of die("bad object")
Some call-sites do: o = parse_object(sha1); if (!o) die("bad object %s", some_name); We can now handle that as a one-liner, and get more consistent output. In the third case of this patch, it looks like we are losing information, as the existing message also outputs the sha1 hex; however, parse_object will already have written a more specific complaint about the sha1, so there is no point in repeating it here. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-shortlog.txt')
0 files changed, 0 insertions, 0 deletions