diff options
author | René Scharfe <l.s.r@web.de> | 2015-05-19 23:44:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-20 13:49:10 -0700 |
commit | dbe44faadb87f88e092f3dac387f96070268137a (patch) | |
tree | c110408d6bae73334427aaec8010bdb2e754e69d /pathspec.h | |
parent | Git 2.4.1 (diff) | |
download | tgif-dbe44faadb87f88e092f3dac387f96070268137a.tar.xz |
use file_exists() to check if a file exists in the worktree
Call file_exists() instead of open-coding it. That's shorter, simpler
and the intent becomes clearer.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pathspec.h')
0 files changed, 0 insertions, 0 deletions