author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 9 Nov 2007 11:34:07 +0000 (11:34 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 10 Nov 2007 05:45:01 +0000 (21:45 -0800) | ||
commit | 354e6534c1569d0d23937add8e7b55bf87bbaf20 | |
tree | e209ad157a72348fc7a715f08e0030089c347bb8 | tree | snapshot |
parent | 2729cadca22dce2b5bb994581c45a6a71daf7998 | commit | diff |
builtin-blame: set up the work_tree before the first file access
We check in cmd_blame() if the specified path is there, but we
failed to set up the working tree before that.
While at it, make setup_work_tree() just return if it was run
before.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We check in cmd_blame() if the specified path is there, but we
failed to set up the working tree before that.
While at it, make setup_work_tree() just return if it was run
before.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c | diff | blob | history | |
setup.c | diff | blob | history |