Re: git add intent-to-add then git add patch no longer allows edit
- From
Raymond E. Pasco <ray@ameretat.dev>
- Date
- Aug 24, 2020, 16:23 UTC
- Message-ID
- <C55D662I6OBC.4J2O3KP58DJ2@ziyou.local>
- In-Reply-To
- <4607f4b5-a5d6-7965-553f-19a52656fb13@gmail.com>
On Sun Aug 23, 2020 at 12:03 PM EDT, Phillip Wood wrote:
Show 6 quoted lines
> I think I was talking about edit rather than split. I'd forgotten that > it used to work with i-t-a additions. I just checked seen and it seems > to be working again since dscho's patch although the user is presented > with the full diff header rather than just a hunk header in the editor. > As you say once the user has staged some part of the diff the rest falls > out naturally.
Which topic is this? I can't find one where it works (it's always "Sorry, cannot edit this hunk" on seen 2.28.0.508.g7d1bebc7fe).
Yeah, it's split that would be a problem, edit just stages and moves on. Split would be nice, but I don't actually recall it ever working before - it doesn't work now on diffs from actual blank files. Getting edit back (if there's a topic that does this already) makes it work for my usage.