News for hackers. Stuff that matters.
Re:Git Files Hidden in Plain Sight by remram on Tuesday August 01, 2023 @11:19AM (#36957119)
It's the second one
Re:Git Files Hidden in Plain Sight by loeg on Tuesday August 01, 2023 @12:55PM (#36958712)
I don't think so. In both cases, there was visible UI of either the new tag or that the tag was changed.

Github shows the updated tag.

git pull --tags shows:

  ! [rejected]        <tag>   -> <tag>  (would clobber existing tag)
git pull --tags --force updates the tag.
Re:Git Files Hidden in Plain Sight by remram on Tuesday August 01, 2023 @01:13PM (#36959013)
You asked about `git fetch`. If you change your question to `git pull --tags` then yes, the answer is different.
Re:Git Files Hidden in Plain Sight by loeg on Tuesday August 01, 2023 @01:26PM (#36959242)
git fetch --tags presents the exact same warning/error.
Re:Git Files Hidden in Plain Sight by remram on Tuesday August 01, 2023 @04:03PM (#36961872)
That's right.

> if you 'git fetch', git does not update tags? I would be pretty surprised

This is the comment you replied to:

> By default, most things assume that tags are immutable and won't check for updates to a tag.

You can use options to change from the default. I don't know what point you are now trying to make, but this conversation is getting very laborious.