]> git.ipfire.org Git - thirdparty/git.git/commit
builtin-blame.c: move prepare_final() into a separate function.
authorJunio C Hamano <gitster@pobox.com>
Thu, 3 Apr 2008 05:17:53 +0000 (22:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Apr 2008 02:41:29 +0000 (19:41 -0700)
commitf6c07d7d475ffaa67b817beb2635fd73a5e0e962
tree5f79f6807449790145d9b67f290c3d7e744bd2bc
parent72276a3ecbe6353b83ab37e0ce96cc21c94cf6ee
builtin-blame.c: move prepare_final() into a separate function.

After parsing the command line, we have a long loop to compute the commit
object to start annotating from.  Move the logic to a separate function,
so that later patches become easier to read.

It also makes fill_origin_blob() return void; the check is always done
on !file->ptr, and nobody looks at the return value from the function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c