Control: reassign -1 git 1:2.20.0~rc1-1

Jonathan Nieder writes ("Bug#914695: dgit autopkgtest breaks with git 2.20"):
>    t-gdr-good laundered
>    git reflog | egrep 'debrebase new-upstream.*checkout'

I have investigated and the bug seems to be that git-rebase --onto now
fails to honour GIT_REFLOG_ACTION for the initial checkout.

In a successful run with older git I get a reflog like this:

  4833d74 HEAD@{0}: rebase finished: returning to refs/heads/with-preexisting
  4833d74 HEAD@{1}: debrebase new-upstream 2.1-1: rebase: Add another new 
upstream file
  cabd5ec HEAD@{2}: debrebase new-upstream 2.1-1: rebase: Edit the .c file
  0b362ce HEAD@{3}: debrebase new-upstream 2.1-1: rebase: Add a new upstream 
file
  29653e5 HEAD@{4}: debrebase new-upstream 2.1-1: rebase: checkout 
29653e5a17bee4ac23a68bba3e12bc1f52858ac3
  85e0c46 HEAD@{5}: debrebase: launder for new upstream

With a newer git I get this:

  6d3fb91 HEAD@{0}: rebase finished: returning to refs/heads/master
  6d3fb91 HEAD@{1}: debrebase new-upstream 2.1-1: rebase: Add another new 
upstream file
  86c0721 HEAD@{2}: debrebase new-upstream 2.1-1: rebase: Edit the .c file
  50ba56c HEAD@{3}: debrebase new-upstream 2.1-1: rebase: Add a new upstream 
file
  8272825 HEAD@{4}: rebase: checkout 8272825bb4ff6eba89afa936e32b6460f963a36a
  c78db55 HEAD@{5}: debrebase: launder for new upstream

This breaks the test because my test suite is checking that I set
GIT_REFLOG_ACTION appropriately.

If you want I can provide a minimal test case but this should suffice
to see the bug I hope...

Thanks,
Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.

Reply via email to