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 | 4384e3cde2ce8ecd194202e171ae16333d241326 (diff) | |
parent | 7234152e66e52c7601789f6de822bb39590f0595 (diff) | |
download | git-230ce07d134f597a8107d3ed5d76d212ff90db70.tar.gz |
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; |