All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kirill Likhodedov <kirill.likhodedov@jetbrains.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Cc: Kirill Likhodedov <Kirill.Likhodedov@jetbrains.com>
Subject: Re: git log --no-walk --tags produces strange result for certain user
Date: Sat, 7 Dec 2013 19:04:13 +0400	[thread overview]
Message-ID: <01D3F259-94E1-4084-9210-34E2DB7B7545@jetbrains.com> (raw)
In-Reply-To: <5EE449B7-AB75-4EFF-85F9-292727FA1C53@jetbrains.com>



Sorry for the duplication, but does anyone have an idea about this issue?

I'm worried because I've already received reports from 3 users, and I'm not sure if just skipping these "pseudo-tags" is a correct decision.

Thanks for any help!

-- Kirill.

On Dec 3, 2013, at 14:08 , Kirill Likhodedov <Kirill.Likhodedov@jetbrains.com> wrote:

> 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.

  reply	other threads:[~2013-12-07 15:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01D3F259-94E1-4084-9210-34E2DB7B7545@jetbrains.com \
    --to=kirill.likhodedov@jetbrains.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.