# StGIT patch editing command

2 messages from 2007-09-14 to 2007-09-15. Participants: Catalin Marinas, Karl Hasselström.
Thread: https://gitlist.dev/t/9839

## Catalin Marinas, 2007-09-14 17:57

Subject: StGIT patch editing command
Message-ID: <b0943d9e0709141057i7d03a2b6n408b820926cd95a5@mail.gmail.com>
URL: https://gitlist.dev/e/b0943d9e0709141057i7d03a2b6n408b820926cd95a5%40mail.gmail.com

```
Hi,

Since some people mentioned in the past that it would be nice to be
able to edit patches, including the diff, I added the 'edit' command
in today's snapshot (and StGIT repository).

The command moves the editing features from 'refresh' into a separate
(and improved) command. In addition, it allows one to modify the diff
directly with the '--diff' option. The command also parses the From:
and Date: fields in the patch description so that the author and date
information can be modified.

'stg help edit' displays more information.

Enjoy :-)

-- 
Catalin

```

## Karl Hasselström, 2007-09-15 23:26

Subject: Re: StGIT patch editing command
Message-ID: <20070915232639.GB25507@diana.vm.bytemark.co.uk>
URL: https://gitlist.dev/e/20070915232639.GB25507%40diana.vm.bytemark.co.uk
In-Reply-To: <b0943d9e0709141057i7d03a2b6n408b820926cd95a5@mail.gmail.com>

```
On 2007-09-14 18:57:43 +0100, Catalin Marinas wrote:

> Since some people mentioned in the past that it would be nice to be
> able to edit patches, including the diff, I added the 'edit' command
> in today's snapshot (and StGIT repository).

Sounds great! I won't have time to test drive it for a few days,
though.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

```
