All of lore.kernel.org
 help / color / mirror / Atom feed
* Potential bug in git client
@ 2014-06-11 10:21 Wojciech Przybył
  2014-06-11 10:55 ` Stefan Beller
  2014-06-17  9:17 ` Michael Haggerty
  0 siblings, 2 replies; 5+ messages in thread
From: Wojciech Przybył @ 2014-06-11 10:21 UTC (permalink / raw)
  To: git

Hi All

When I was tagging, I think I might have discovered a git client bug.

HOW TO REPRODUCE:
- Clone a repo into 2 separate directories. Presume there is a tag
"v0.1" already in there and it is set on say 10 commits ago.

- In first directory change the tag to a different place and push it
to the server:
git tag -d v0.1
git tag v0.1
git push --tags origin master

- In second directory try to update the tag...
git pull --all --tags
git fetch -all --tags
THIS DOES NOT WORK, tag is still at old place, but it says "Already up-to-date".

- I noticed when I use:
git fetch --tags
it works fine and updates the position of the tag, or if I remove tag
from local git manually (rm .git/refs/tags/v0.1) and update again.

Is it a bug or I am doing something wrong? I use git version 1.7.9.5.

Cheers
Wojciech

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-17  9:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11 10:21 Potential bug in git client Wojciech Przybył
2014-06-11 10:55 ` Stefan Beller
2014-06-11 11:09   ` Wojciech Przybył
2014-06-17  9:17 ` Michael Haggerty
2014-06-17  9:38   ` Wojciech Przybył

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.