Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge tag 'v2.7.6' into maint-2.8
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index 503766784c4c0c1be71edacbaae6ec4bd698ee8d..6fbc4c38cc03ee4fba7a7026cb9520fd81ce25f4 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-1181,6
+1181,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;