Re: Message from git reset: confusing?

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

 



On Wed, Aug 5, 2009 at 5:21 PM, Junio C Hamano<gitster@xxxxxxxxx> wrote:
> Matthieu Moy <Matthieu.Moy@xxxxxxx> writes:
>
>> I was wondering what was the motivation for the output of "git merge":
>
> You meant "git reset".
>
>> $ git reset file
>> file: locally modified
>> $
>
> First a tangent.
>
> Removing this output _when no <path> is given_ would greatly reduce the
> usability of the command.

Yes.  I think the problem is that the current output looks more like
an error message than a status report.

I would find it very pleasant if the output looked more like the
output of "git checkout" (no parameters) in the no-files-specified
case.

Even if people don't know what "M" means on day 1 (although hopefully
they don't need "git reset" on day 1), at least it doesn't look like
an error message.

Have fun,

Avery
--
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]