diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-03 09:34:53 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-03 09:34:54 -0700 |
commit | 1b7b22bfd0fb1fe62cf9d40e2b1de031cc48771d (patch) | |
tree | fe0c000ccf0b96163780404babd29ccbaf69d09e /test-match-trees.c | |
parent | 41ae34d136e623cb4a6c6096d905dc648daabfb9 (diff) | |
parent | a6a3f2cc0761a347e8796280a1544e2a0d08cb51 (diff) | |
download | git-1b7b22bfd0fb1fe62cf9d40e2b1de031cc48771d.tar.gz |
Merge branch 'jc/sha1-name-object-peeler'
There was no good way to ask "I have a random string that came from
outside world. I want to turn it into a 40-hex object name while
making sure such an object exists". A new peeling suffix ^{object}
can be used for that purpose, together with "rev-parse --verify".
* jc/sha1-name-object-peeler:
peel_onion(): teach $foo^{object} peeler
peel_onion: disambiguate to favor tree-ish when we know we want a tree-ish
Diffstat (limited to 'test-match-trees.c')
0 files changed, 0 insertions, 0 deletions