diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-07-30 15:01:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-30 15:01:31 -0700 |
commit | 05bb78abc179b47f6288b990c1ba8f3d403cad1d (patch) | |
tree | 1a5dc09b15a2922a7596374fff1031b878d83cfc /path.c | |
parent | 773e3a2e0226cffac6c813c2d3bea5ba480675d8 (diff) | |
parent | 0bfff8146f8c055fd95af4567286929ba8216fa7 (diff) | |
download | git-05bb78abc179b47f6288b990c1ba8f3d403cad1d.tar.gz |
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; |