Hi,

On Mon, 21 Nov 2022, at 05:09, Christoph Anton Mitterer wrote:
> I wanted to selectively stage (or commit) just two lines.
> In both cases it fails with the same error:
> $ git crecord
> error: patch fragment without header at line 16: @@ -171,8 +171,8 @@ 
> while [ "$#" -ge 1 ]; do
> On branch improve-ssh_filter_btrbk.sh
> Your branch is ahead of 'origin/improve-ssh_filter_btrbk.sh' by 2 
> commits.
>   (use "git push" to publish your local commits)
>
> nothing to commit, working tree clean
> abort: commit failed: git exited with status 1
>
> Any ideas?

Can you try these things please:
1) Try the latest Git version
2) If it still fails, run with --debug, it’s going to print the patch
3) If possible, send me your working tree so that I can try it out

-- 
Cheers,
  Andrej

Reply via email to