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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 3, 2011 at 10:01 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> writes:
>
>> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]