diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-07-30 14:52:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-30 14:52:14 -0700 |
commit | af0178aec7c38cb17bc641bc361656cc90bc6b79 (patch) | |
tree | 0d26db4f796c29dd208ceb567f2022bad65c7ca1 /path.c | |
parent | d61226c1118f749280c050555d83560ca0f3bf71 (diff) | |
parent | 8d7f72f176ea133c16e55f386a0b79a1cd46ff69 (diff) | |
download | git-af0178aec7c38cb17bc641bc361656cc90bc6b79.tar.gz |
Merge tag 'v2.8.6' into maint-2.9
Git 2.8.6
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1222,6 +1222,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; |