author | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Apr 2008 05:17:53 +0000 (22:17 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 13 Apr 2008 02:41:29 +0000 (19:41 -0700) | ||
commit | f6c07d7d475ffaa67b817beb2635fd73a5e0e962 | |
tree | 5f79f6807449790145d9b67f290c3d7e744bd2bc | tree | snapshot |
parent | 72276a3ecbe6353b83ab37e0ce96cc21c94cf6ee | commit | diff |
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>
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 | diff | blob | history |