diff options
author | René Scharfe <l.s.r@web.de> | 2014-07-28 20:42:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-28 16:17:12 -0700 |
commit | 2d186c8be5bea10640927e0822bd9e1c7a2e01ea (patch) | |
tree | 21ed89eff6c024292dc63b56362769bedbe05a17 /t/t4012-diff-binary.sh | |
parent | t4013: test diff-tree's --stdin commit formatting (diff) | |
download | tgif-2d186c8be5bea10640927e0822bd9e1c7a2e01ea.tar.xz |
init: avoid superfluous real_path() calls
Feeding the result of a real_path() call to real_path() again doesn't
change that result -- the returned path won't get any more real. Avoid
such a double call in set_git_dir_init() and for the same reason stop
calling real_path() before feeding paths to set_git_work_tree(), as the
latter already takes care of that.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4012-diff-binary.sh')
0 files changed, 0 insertions, 0 deletions