Thread (82 messages) 82 messages, 11 authors, 2018-05-11

Re: [PATCH 8/9] get_short_oid / peel_onion: ^{tree} should mean commit, not commitish

From: Eric Sunshine <hidden>
Date: 2018-04-30 23:22:41

On Mon, Apr 30, 2018 at 6:07 PM, Ævar Arnfjörð Bjarmason
[off-list ref] wrote:
get_short_oid / peel_onion: ^{tree} should mean commit, not commitish
s/tree/commit/
Continue the untangling of peel disambiguation syntax. Before this
e8f2^{commit} would show the v2.17.0 tag, but now it'll just show
ambiguous commits:

    $ git rev-parse e8f2^{commit}
    error: short SHA1 e8f2 is ambiguous
    hint: The candidates are:
    hint:   e8f21caf94 commit 2013-06-24 - bash prompt: print unique detached HEAD abbreviated object name
    hint:   e8f26250fa commit 2017-02-03 - Merge pull request #996 from jeffhostetler/jeffhostetler/register_rename_src
    hint:   e8f2bc0c06 commit 2015-05-10 - Documentation: note behavior for multiple remote.url entries
    [...]

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help