diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-08-04 12:40:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-04 12:40:37 -0700 |
commit | 230ce07d134f597a8107d3ed5d76d212ff90db70 (patch) | |
tree | 9f9de19330fc4c7edcee3b286ef68d1a7561284c /path.c | |
parent | Git 2.14 (diff) | |
parent | Git 2.13.5 (diff) | |
download | tgif-230ce07d134f597a8107d3ed5d76d212ff90db70.tar.xz |
Merge tag 'v2.13.5' into maint
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1321,6 +1321,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; |