Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: Improve "git grep" flags handling

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:06

Linus Torvalds [off-list ref] writes:
+  # git-ls-file specific flags
+  --others|--exclude=*|--exclude-from=*|--exclude-per-directory=*)
+      git_flags="$git_flags $pattern"
+      shift
+      ;;
This would not fly well, I am afraid.  --exclude=* are usually
shell globs which would be expanded before you use them
unquoted.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help