commit | 354e6534c1569d0d23937add8e7b55bf87bbaf20 | [log] [tgz] |
---|---|---|
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | Fri Nov 09 11:34:07 2007 +0000 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Nov 09 21:45:01 2007 -0800 |
tree | e209ad157a72348fc7a715f08e0030089c347bb8 | |
parent | 2729cadca22dce2b5bb994581c45a6a71daf7998 [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>