Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Make git-rev-list and git-rev-parse argument parsing stricter

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

Linus Torvalds [off-list ref] writes:
If you pass it a filename without the "--" marker to separate it from
revision information and flags, we now require that the file in question
actually exists. This makes mis-typed revision information not be silently
just considered a strange filename.
...
Comments?
I think it is a good safety measure.  People has to say "git
rev-list -- git-commit-script" if they are interested in
historical paths, but that is less common.  We could even go
stronger and always require '--', but that is probably too much
for normal use.  I like the balance you struck here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help