diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-07-31 00:01:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-31 00:01:31 +0200 |
commit | 05bb78abc179b47f6288b990c1ba8f3d403cad1d (patch) | |
tree | 1a5dc09b15a2922a7596374fff1031b878d83cfc /path.c | |
parent | Git 2.11.2 (diff) | |
parent | Git 2.10.4 (diff) | |
download | git-05bb78abc179b47f6288b990c1ba8f3d403cad1d.tar.xz git-05bb78abc179b47f6288b990c1ba8f3d403cad1d.zip |
Merge tag 'v2.10.4' into maint-2.11
Git 2.10.4
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1257,6 +1257,11 @@ int is_ntfs_dotgit(const char *name) } } +int looks_like_command_line_option(const char *str) +{ + return str && str[0] == '-'; +} + char *xdg_config_home(const char *filename) { const char *home, *config_home; |