[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Perhaps strange request: partial per-file commit
From: |
Thomas Moschny |
Subject: |
Re: [Monotone-devel] Perhaps strange request: partial per-file commit |
Date: |
Tue, 15 Jan 2008 16:38:30 +0100 |
User-agent: |
KMail/1.9.6 (enterprise 0.20071123.740460) |
On Tuesday 15 January 2008, Ralf S. Engelschall wrote:
> So, it would be also nice
> to have the "hunk restriction" feature for "mtn diff":
>
> $ mtn diff file11:-2,-4
You can use filterdiff from the very useful patchutils[1] collection for that:
mtn diff file11 | filterdiff -# 1,3,5-
would show hunks one, three and all hunks starting from the fifth.
Selecting hunks based on which lines they contain is also possible.
Regards,
Thomas
[1] http://cyberelk.net/tim/software/patchutils/
signature.asc
Description: This is a digitally signed message part.
[Monotone-devel] Re: Perhaps strange request: partial per-file commit, Bruce Stephens, 2008/01/15
Re: [Monotone-devel] Perhaps strange request: partial per-file commit, Thomas Keller, 2008/01/15