Nguyen Thai Ngoc Duy [off-list ref] writes:
On Sat, Apr 9, 2011 at 11:58 AM, Nguyen Thai Ngoc Duy [off-list ref] wrote:
quoted
On Sat, Apr 9, 2011 at 6:18 AM, Junio C Hamano [off-list ref] wrote:
quoted
Also make ':' without anything else to mean "there is no pathspec". This
would allow differences between "git log" and "git log ." run from the top
level of the working tree (the latter simplifies no-op commits away from
the history) to be expressed from a subdirectory by saying "git log :".
The intention is good, but reality may need more work.
Wait, what if I say "git grep -- : foo : bar"? I take it we should
reject on this case?
The patch probably would stuff NULL, "foo", NULL, "bar" in the array, and
the first NULL would make the caller turn the array itself into NULL; it
is a user error I didn't have to bother while the topic is still in a PoC
stage.