Re: When does git check for branch-X being uptodate with origin/branch-X?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 21, 2016 at 2:57 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Stefan Beller <sbeller@xxxxxxxxxx> writes:
>
>>> "branch-X is uptodate with origin/branch-X (as of DD-MM-YY HH:MM:SS)"
>>
>> Actually I like that feature of recording the last known time we fetched,
>> I would have found that information useful in the past a few times. (unrelated
>> to this exact message, but if we were to make this change, we would
>> need to record
>> the time somewhere, and that's what I would have wanted)
>
> Like in reflog for refs/remotes/origin/branch-X?
>

Heh, exactly that. Though the git-reflog tool is missing the time
as it appears on the reflog file.

Just quoting from my reflog file

$ cat .git/logs/refs/remotes/origin/master
f3adf457e046f92f039353762a78dcb3afb2cb13
754884255bb580df159e58defa81cdd30b5c430c Stefan Beller
<sbeller@xxxxxxxxxx> 1452529563 -0800 fetch --append origin:
fast-forward
754884255bb580df159e58defa81cdd30b5c430c
fc10eb5b87a75af2cb93a3932897572f2c544915 Stefan Beller
<sbeller@xxxxxxxxxx> 1452709338 -0800 fetch --append origin:
fast-forward
fc10eb5b87a75af2cb93a3932897572f2c544915
3ee1e0fe11e2eb617170d0487fccfffc67f2b82b Stefan Beller
<sbeller@xxxxxxxxxx> 1453411906 -0800 fetch --append origin:
fast-forward
3ee1e0fe11e2eb617170d0487fccfffc67f2b82b
e572fef9d459497de2bd719747d5625a27c9b41d Stefan Beller
<sbeller@xxxxxxxxxx> 1453508448 -0800 fetch --append origin:
fast-forward
e572fef9d459497de2bd719747d5625a27c9b41d
d10e2cb9d0299a26f43d57dd5bdcf2b3f86a30b3 Stefan Beller
<sbeller@xxxxxxxxxx> 1453939673 -0800 fetch --append origin:
fast-forward
d10e2cb9d0299a26f43d57dd5bdcf2b3f86a30b3
701fa7fe35768fd6e291b667566ac4b434f6e1c9 Stefan Beller
<sbeller@xxxxxxxxxx> 1454364624 -0800 fetch --append origin:
fast-forward
701fa7fe35768fd6e291b667566ac4b434f6e1c9
07c314d22dc8b0a982e76e7498a3f4d384062491 Stefan Beller
<sbeller@xxxxxxxxxx> 1454445124 -0800 fetch --append origin:
fast-forward
07c314d22dc8b0a982e76e7498a3f4d384062491
563e38491eaee6e02643a22c9503d4f774d6c5be Stefan Beller
<sbeller@xxxxxxxxxx> 1454610734 -0800 fetch --append origin:
fast-forward
563e38491eaee6e02643a22c9503d4f774d6c5be
ff4ea6004fb48146330d663d64a71e7774f059f9 Stefan Beller
<sbeller@xxxxxxxxxx> 1455040507 -0800 fetch --append origin:
fast-forward
ff4ea6004fb48146330d663d64a71e7774f059f9
494398473714dcbedb38b1ac79b531c7384b3bc4 Stefan Beller
<sbeller@xxxxxxxxxx> 1455150849 -0800 rebase -i (start): checkout
origin/master: fast-forward
494398473714dcbedb38b1ac79b531c7384b3bc4
0233b800c838ddda41db318ee396320b3c21a560 Stefan Beller
<sbeller@xxxxxxxxxx> 1455824915 -0800 fetch --append origin:
fast-forward
0233b800c838ddda41db318ee396320b3c21a560
70bd996071bf724a7b151c81a165e8837179d6d7 Stefan Beller
<sbeller@xxxxxxxxxx> 1456250296 -0800 fetch --append origin:
fast-forward
70bd996071bf724a7b151c81a165e8837179d6d7
7c0da37d7b0e09c199788191b322bf45fd003e3c Stefan Beller
<sbeller@xxxxxxxxxx> 1456337953 -0800 fetch --append origin:
fast-forward
7c0da37d7b0e09c199788191b322bf45fd003e3c
56f37fda511e1615dc6df86c68f3b841711a7828 Stefan Beller
<sbeller@xxxxxxxxxx> 1456358750 -0800 fetch --append origin:
fast-forward
56f37fda511e1615dc6df86c68f3b841711a7828
f02fbc4f9433937ee0463d0342d6d7d97e1f6f1e Stefan Beller
<sbeller@xxxxxxxxxx> 1456530630 -0800 fetch --append origin:
fast-forward
f02fbc4f9433937ee0463d0342d6d7d97e1f6f1e
d285ab0a41c5c04222cf356066d1df1e6096c5a7 Stefan Beller
<sbeller@xxxxxxxxxx> 1457045695 -0800 fetch --append origin:
fast-forward
d285ab0a41c5c04222cf356066d1df1e6096c5a7
ab5d01a29eb7380ceab070f0807c2939849c44bc Stefan Beller
<sbeller@xxxxxxxxxx> 1457133708 -0800 fetch --append origin:
fast-forward
ab5d01a29eb7380ceab070f0807c2939849c44bc
ed9067f705aa51819c7dfff7e4190dd267beaf5d Stefan Beller
<sbeller@xxxxxxxxxx> 1457652712 -0800 fetch --append origin:
fast-forward
ed9067f705aa51819c7dfff7e4190dd267beaf5d
db6696f653b917509dac1ac13b922e12773a84ff Stefan Beller
<sbeller@xxxxxxxxxx> 1458061695 -0700 fetch --append origin:
fast-forward
db6696f653b917509dac1ac13b922e12773a84ff
c2c5f6b1e479f2c38e0e01345350620944e3527f Stefan Beller
<sbeller@xxxxxxxxxx> 1458083837 -0700 fetch --append origin:
fast-forward
c2c5f6b1e479f2c38e0e01345350620944e3527f
d9c691a759d62cef53a6cc11864a2ef4b0829244 Stefan Beller
<sbeller@xxxxxxxxxx> 1458167761 -0700 fetch --append origin:
fast-forward
d9c691a759d62cef53a6cc11864a2ef4b0829244
44915db9358936fbad21221fed3abf86166696fd Stefan Beller
<sbeller@xxxxxxxxxx> 1458255346 -0700 fetch --append origin:
fast-forward
44915db9358936fbad21221fed3abf86166696fd
b552ff8c67d1b1c60d7d1fcf25a0603a37649b4f Stefan Beller
<sbeller@xxxxxxxxxx> 1458580955 -0700 fetch --append origin:
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?

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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]