git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-describe --contains fails on given tree

From
JEJan Engelhardt <jengelh@medozas.de>
Date
Aug 21, 2010, 19:47 UTC
Message-ID
<alpine.LSU.2.01.1008212145520.14934@obet.zrqbmnf.qr>
Hi,

for some reason, git-describe cannot figure out v1.17~15^2^2 in the pam_mount tree, despite me being able to actually give a description that would fit the contains syntax:

$ git clone git://pam-mount.git.sf.net/gitroot/pam-mount/pam-mount Initialized empty Git repository in /dev/shm/pam-mount/.git/ remote: Counting objects: 7261, done. remote: Compressing objects: 100% (1819/1819), done. remote: Total 7261 (delta 5557), reused 6990 (delta 5348) Receiving objects: 100% (7261/7261), 1.40 MiB | 832 KiB/s, done. Resolving deltas: 100% (5557/5557), done.

$ cd pam-mount/ $ git describe --contains v1.17~15^2^2 fatal: cannot describe '95ce932690dfce8cbe50b6a3a8949e41a54c8966'

(Expected to get back: v1.17~15^2^2)
Why would it not want to return something? Possible bug?
Using git 1.7.1 on openSUSE 11.3.

thanks, Jan

Next: Jakub Narebski
Message 1 of 5 in “git-describe --contains fails on given tree”
  1. Jan EngelhardtAug 21, 2010
  2. Jakub NarebskiAug 21, 2010
  3. Jan EngelhardtAug 21, 2010
  4. Thomas RastAug 22, 2010
  5. Jan EngelhardtAug 23, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.