diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-08-01 12:27:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-01 12:27:31 -0700 |
commit | e312af164c12052b7a0dbf8f7b86549a3c5b578f (patch) | |
tree | 2305e144bb615718f3e163ecfc52bc639a4c0e41 /path.c | |
parent | cf8899d285d2648013040ec7196ffd3de0606664 (diff) | |
parent | 3d9c5b5c4461957fbbc0479e037990db04ebb740 (diff) | |
download | git-e312af164c12052b7a0dbf8f7b86549a3c5b578f.tar.gz |
Merge tag 'v2.12.4' into maint
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1241,6 +1241,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; |