On Mon, Mar 21, 2016 at 3:42 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Stefan Beller <sbeller@xxxxxxxxxx> writes: > >> On> 494398473714dcbedb38b1ac79b531c7384b3bc4 Stefan Beller >> <sbeller@xxxxxxxxxx> 1455150849 -0800 rebase -i (start): checkout >> origin/master: fast-forward >> >> I do understand the "fetch --append origin fast-forward", (I assume >> they are coming from regular fetches). But the "rebase -i (start): >> checkout origin/master: fast-forward" seems to have recorded there in >> error as I never rebased origin/master itself, but only other stuff on >> top of origin/master. >> Why would we have such an entry in there? > > You tell us--what did you do back then? ;-) I wish I knew, my memories are not as good as a disk. It was Thursday 11th 2016, around 4:30 pm local time. I would assume I exercised Git the "usual" way as always. This entry doesn't appear in .git/logs/HEAD. However grep -r "rebase -i (start): checkout origin/master: fast-forward" -- .git/logs yields .git/logs/refs/remotes/origin/master .git/logs/refs/remotes/origin/nd/exclusion-regression-fix .git/logs/refs/remotes/origin/ew/connect-verbose .git/logs/refs/remotes/origin/next .git/logs/refs/remotes/kernelorg/todo .git/logs/refs/remotes/kernelorg/master .git/logs/refs/remotes/kernelorg/next .git/logs/refs/remotes/kernelorg/next For example I am pretty sure I never touched origin/nd/exclusion-regression-fix and origin/ew/connect-verbose directly myself (i.e. checking them out or anything. The only way I got in contact with them is via "git fetch --all" and the remote side merging these branches into various other branches. > > It indeed looks strange. You shouldn't be able to check out a > remote-tracking branch, so any log for local operation would be in > HEAD's reflog, but not in remotes' reflog. > > I was curious to see what kind of entries I have and I do not seem > to have anything strange. > > $ find .git/logs/refs/remotes/ -type f -print0 | > xargs -0 sed -Ee ' > s/^[0-9a-f]{40} [0-9a-f]{40} [^>]*> [0-9]* [-+][0-9]{4} // > ' | > sort -u > fetch --append l10n: fast-forward > fetch git-gui: fast-forward > fetch -v git-svn: fast-forward > fetch -v paulus: fast-forward > pull git-svn: fast-forward > pull git-svn: forced-update > pull -s subtree paulus: fast-forward > pull -v git-svn ks/svn-pathnameencoding-4: storing head > update by push > > Puzzled... doing a similar thing here: $ find .git/logs/refs/remotes/ -type f -print0 | xargs -0 cat |cut -c134-|sort -u fetch --append origin: fast-forward fetch --append origin: forced-update fetch --append origin: storing head [omitting lots of other remotes which also have "fetch --append" lines] rebase -i (start): checkout origin/master: fast-forward rebase -i (start): checkout origin/master: storing head update by push As I have lots of terminals open, I suspect my confusing workflow doesn't help either, i.e. a normal thing for me is: term1: git rebase -i origin/master term1: <resolve merge conflict, edit patches, etc> term2: git fetch --all term1: continue on <resolve merge conflict, edit patches, etc> term1: actually finish the rebase I tried reproducing this quickly, but I did not succeed. I'll try to keep an eye on this. Thanks, Stefan -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html