{"thread":{"id":"35199","subject":"git describe --contains --abbrev=0 <sha1> doesn't work as expected","startedAt":"2013-10-25T15:56:26Z","lastAt":"2013-10-25T15:56:26Z","messageCount":1,"participants":["Francis Moreau"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"229519","messageId":"CAC9WiBhFRRkwiWH9H4BSUdLrktst5e6MaZd0PLwf03seUUq9eg@mail.gmail.com","threadId":"35199","inReplyTo":null,"subject":"git describe --contains --abbrev=0 <sha1> doesn't work as expected","fromName":"Francis Moreau","fromEmail":"francis.moro@gmail.com","sentAt":"2013-10-25T15:56:26Z","receivedAt":"2013-10-25T15:56:26Z","isPatch":false,"sender":{"key":"francis.moro@gmail.com","avatar":null},"body":"Hello,\n\nBasically doing: git describe --abbrev=0 <sha1> gives the closest tag\nfrom <sha1>\n\nI would expect adding \"--contains\" option would give the closest tag\ncontaining <sha1> but it seems that --abbrev=0 has no more effect in\nthat case:\n\n$ git describe --tags --contains --abbrev=0\n7f285fa78d4b81b8458f05e77fb6b46245121b4e\nv2.6.35-rc5~14^2~4\n\nIs that expected ?\n\nThanks\n-- \nFrancis\n"}]}