Re: Stacked GIT 0.3 (now more Quilt-like)
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 8, 2005, 01:24 UTC
- Message-ID
- <7vk6k2dr8i.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <m31x6acdcl.fsf@telia.com>
>>>>> "PO" == Peter Osterlund <petero2@telia.com> writes:
PO> I think it would be good if it was possible to include diffstat output PO> in exported patches, something like this:
PO> Added possibility to include diffstat output in exported patches.
And you wuold want to do things similarly to what others have already done. git-resolve-script uses "git-apply --stat" there, instead of "diffstat", so people without diffstat installed can still get the same information.
Even if you want to stick to "diffstat", at least I would suggest giving -p1, not -p0, to it; otherwise you would see b/ like what you have there.
PO> b/stgit/git.py | 22 ++++++++++++++++++++++ PO> b/stgit/main.py | 2 ++ PO> 2 files changed, 24 insertions(+)
Further, using "git-apply --stat --summary" would be nicer; this is something you cannot do with plain "diffstat".