All of lore.kernel.org
 help / color / mirror / Atom feed
* git log --no-walk --tags produces strange result for certain user
@ 2013-12-03 10:08 Kirill Likhodedov
  2013-12-07 15:04 ` Kirill Likhodedov
  0 siblings, 1 reply; 11+ messages in thread
From: Kirill Likhodedov @ 2013-12-03 10:08 UTC (permalink / raw)
  To: git; +Cc: Kirill Likhodedov

Hey,

I use the following commands to receive the list of tags together with hashes the point to:
  
    git log --tags --no-walk --format=%H%d%x01 --decorate=full

Generally it works fine, however a user reported that for his repository this command returns the list containing several hashes without tag references. Something like this:

    05c9a3a6247698ff740ca3a79828456347afdcef (HEAD, tag: refs/tags/2.33, refs/remotes/origin/master, refs/remotes/origin/HEAD, refs/heads/master)\x01
    a7fda708d76d7f83d5a160b6b137b98b7677f771 (tag: refs/tags/2.44)
    f119c2e7c69bb5ed1da5bae29c8754550ab96bde\x01
    07385a6ebe5a2e01e6ba9c8d0cb7b15c9a13f65d (tag: refs/tags/1.69)\x01

Here third hash doesn't have a reference. There are 3 such hashes in his repository.

How can this happen? Is it a bug or some special scenario?

* I've already asked the user to execute `git tag --points-at` on these "suspiciously tagged" hashes: nothing was returned.
* `git show --decorate=full` executed on these hashes return commit details, and no references on them.
* From the log user sees that these hashes indicate some "normal" commits, nothing special at first glance.

Git version that he uses is 1.8.4.0.

Thanks!

-- Kirill.

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

end of thread, other threads:[~2014-01-17  8:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-03 10:08 git log --no-walk --tags produces strange result for certain user Kirill Likhodedov
2013-12-07 15:04 ` Kirill Likhodedov
     [not found]   ` <52AEB181.9020006@alum.mit.edu>
2013-12-16 11:52     ` Kirill Likhodedov
2013-12-17  0:40       ` brian m. carlson
2013-12-17  4:28         ` [PATCH] log: properly handle decorations with chained tags brian m. carlson
2013-12-18  0:36           ` Junio C Hamano
2013-12-19  3:18             ` brian m. carlson
2013-12-19 18:44               ` Junio C Hamano
2013-12-19 23:44                 ` brian m. carlson
2014-01-16 10:31       ` git log --no-walk --tags produces strange result for certain user Michael Haggerty
2014-01-17  8:28         ` Michael Haggerty

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.