# StGIT: "stg refresh -e/--edit" to refresh patch and edit description no longer works

3 messages from 2007-12-14 to 2007-12-14. Participants: Jakub Narebski, Catalin Marinas.
Thread: https://gitlist.dev/t/11292

## Jakub Narebski, 2007-12-14 14:07

Subject: StGIT: "stg refresh -e/--edit" to refresh patch and edit description no longer works
Message-ID: <200712141507.01552.jnareb@gmail.com>
URL: https://gitlist.dev/e/200712141507.01552.jnareb%40gmail.com

```
The command I used quite often in my StGIT workflow, namely 
"stg refresh -e", which used to refresh patch and launch editor to edit 
commit (patch) description no longer works in Stacked GIT 0.14.1.

I used it when new (refreshed) changes needed also changes in commit 
description (commit message). Now I have to run two commands: 
"stg refresh" and "stg edit".

-- 
Jakub Narebski
Poland

```

## Catalin Marinas, 2007-12-14 14:26

Subject: Re: StGIT: "stg refresh -e/--edit" to refresh patch and edit description no longer works
Message-ID: <b0943d9e0712140626w3a2f55b1i83c33f93d7f8af2f@mail.gmail.com>
URL: https://gitlist.dev/e/b0943d9e0712140626w3a2f55b1i83c33f93d7f8af2f%40mail.gmail.com
In-Reply-To: <200712141507.01552.jnareb@gmail.com>

```
On 14/12/2007, Jakub Narebski <jnareb@gmail.com> wrote:
> The command I used quite often in my StGIT workflow, namely
> "stg refresh -e", which used to refresh patch and launch editor to edit
> commit (patch) description no longer works in Stacked GIT 0.14.1.
>
> I used it when new (refreshed) changes needed also changes in commit
> description (commit message). Now I have to run two commands:
> "stg refresh" and "stg edit".

Well, people complained that 'refresh -e' is misleading and a separate
command is needed. It's not difficult to move the editing
functionality out of stgit.commands.edit and re-add the --edit option
to refresh (while also keeping the separate edit command).

I'm a bit busy with home/family commitments until the new year.

-- 
Catalin

```

## Jakub Narebski, 2007-12-14 16:01

Subject: Re: StGIT: "stg refresh -e/--edit" to refresh patch and edit description no longer works
Message-ID: <200712141701.43914.jnareb@gmail.com>
URL: https://gitlist.dev/e/200712141701.43914.jnareb%40gmail.com
In-Reply-To: <b0943d9e0712140626w3a2f55b1i83c33f93d7f8af2f@mail.gmail.com>

```
On Fri, 14 Dec 2007, Catalin Marinas wrote:
> On 14/12/2007, Jakub Narebski <jnareb@gmail.com> wrote:
>>
>> The command I used quite often in my StGIT workflow, namely
>> "stg refresh -e", which used to refresh patch and launch editor to edit
>> commit (patch) description no longer works in Stacked GIT 0.14.1.
>>
>> I used it when new (refreshed) changes needed also changes in commit
>> description (commit message). Now I have to run two commands:
>> "stg refresh" and "stg edit".
> 
> Well, people complained that 'refresh -e' is misleading and a separate
> command is needed. It's not difficult to move the editing
> functionality out of stgit.commands.edit and re-add the --edit option
> to refresh (while also keeping the separate edit command).

First, the "misleading" part could be corrected by renaming long option
to --edit-description or --edit-message. Second "stg refresh -e" matches
non-StGIT usage of "git commit --amend"; and it is damn useful to have
it as one command, not two. 

> I'm a bit busy with home/family commitments until the new year.

I'll wait. As I am not running StGIT master, but released version,
I would have to waith nevertheless on next release.

TIA
-- 
Jakub Narebski
Poland

```
