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

Re: [PATCH 2/4] add -u: get rid of "treewideupdate" configuration

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:51:08

On Tue, May 3, 2011 at 10:01 PM, Junio C Hamano [off-list ref] wrote:
Nguyen Thai Ngoc Duy [off-list ref] writes:
quoted
I need someone to enlighten me again. Why do we need ":" for "no
pathspec" when we can simply specify no pathspec for the same effect?
Futureproofing.  Currently "log" family defaults to "tree-wide" when there
is no pathspec, but imagine what happens when a command like "log" that
knows how to simplify history defaults to "current directory".  You cannot
override it by "git that-cmd :/", which would give it a single tree-wide
pathspec, not "no pathspec".  It will still cull empty commits.
OK, empty commits. I see. Will test it that way.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help