From: Junio C Hamano Date: Mon, 21 Mar 2016 22:42:44 GMT Subject: Re: When does git check for branch-X being uptodate with origin/branch-X? Message-ID: In-Reply-To: Stefan Beller writes: > On> 494398473714dcbedb38b1ac79b531c7384b3bc4 Stefan Beller > 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? ;-) 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...