Re: Feature request: Limit git-status reports to a directory
- From
Yin Ping <pkufranky@gmail.com>
- Date
- Oct 25, 2007, 02:14 UTC
- Message-ID
- <46dff0320710241914t7d93aae1t991fbcaacde77046@mail.gmail.com>
- In-Reply-To
- <ffofbm$lmc$1@ger.gmane.org>
On 10/25/07, Michel Marti <mma@objectxp.com> wrote:
Show 5 quoted lines
> I am sometimes interested in only seeing the status for a specific > directory (and its sub-directories), but git-status is no help in this > case - passing a directory does some sort of "git-commit --dry-run". I > first thought that this is a bug until I saw in the man-page that this > is actually a feature...
It's also painful for me. IMHO, the behaviour of "git-status" should keep consistent with "git-diff" and "git-log" which allow for the path.
Another point, It will be helpful to add a config item to change the default behaviour for 'git-diff" and "git-log". For example, 'diff.defaultcurrentpath=true' to let git only show difference in current directory instead of difference in top directory when typing 'git-diff'
Show 8 quoted lines
> > - Michel > > - > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >
-- franky