Re: [PATCH 1/2] Add "--only-untracked" flag to status commands.

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

 



Väinö Järvelä, Fri, Aug 24, 2007 08:35:13 +0200:
> On Aug 23, 2007, at 23:32, Alex Riesen wrote:
> 
> >Väinö Järvelä, Thu, Aug 23, 2007 21:58:31 +0200:
> >>With this flag, the user can choose to filter untracked files from  
> >>the
> >>status output. This can be used to either speed up the status  
> >>output, as
> >>the untracked files are not fetched at all, or to just cleanup the
> >>output without using gitignore.
> >
> >"git diff -r --name-status; git diff --cached -r --name-status" is  
> >not enough?
> 
> That line will result in duplicate entries, if files are staged, and  
> the output of git-status is neater (but longer) in my opinion.

That is because it _is_ two times different: between working directory
and the index, and between index and HEAD. git-status _will_ show you
the same for the same reason.

Besides, why do you want to hide this "duplication"? It shows how the
matters really are.

Besides, it looks like you are using "friendly" where you actually
wanted to say "I consider you too dumb to know what happens". Someone
may feel offended

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

  Powered by Linux