Re: [PATCH/alternative/raw and rough] setup.c: denote repo wide pathspecs by ':'

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

 



Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> writes:
>>  Would this ':'
>> trick affect that argument?  If a command is relative to the cwd with no
>> pathspec, you can now give a single ':' to affect the whole tree.
>
> In my view yes. I would even say: If we don't change every single
> command to repo-wide default there is no need to change (and break
> things) if we have an easy one-character way of saying "repo-wide".

... except, of course that the current state is still confusingly
inconsistent.  Even if ":" is available, and even if somebody knows
about it, they won't use it unless they know they have to because people
are lazy, particularly when typing at the command-line.

There will _still_ be tons of times when people don't realize they're in
a subdirectory, and so need ":", or don't realize that command X doesn't
follow the majority of commands in using the "no args = root relative"
behavior.  So the current state of things is still somewhat dangerous
for users.

Something like ":" would be a great feature for scripting though.

-Miles

-- 
Discriminate, v.i. To note the particulars in which one person or thing is,
if possible, more objectionable than another.
--
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]