Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4201: make use of abbreviation in the test more robust
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index efcedafba6f2c0cae218f2d32425c13272df8dea..897b3417d40f7b5bd01914b8923f2f3f89350c0b 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-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;