match-trees: factor out fill_tree_desc_strict
authorRené Scharfe <redacted>
Thu, 13 Jun 2013 18:19:28 +0000 (20:19 +0200)
committerJunio C Hamano <redacted>
Thu, 13 Jun 2013 21:45:38 +0000 (14:45 -0700)
commit10a3fb00ebbf19d5c22a0aa9ccd7803fe5367329
tree1ce28145e3a849d348699a6cff04be46a8cbf107
parentf2b4626d9e78e00d2168a8470633d6c7f5331a13
match-trees: factor out fill_tree_desc_strict

Deduplicate code by moving tree_desc initialization into a helper
function, fill_tree_desc_strict.  It is like fill_tree_descriptor,
except that it only accepts tree hashes and no tree references (tags,
commits).  No functional change.

Signed-off-by: René Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
match-trees.c
git clone https://git.99rst.org/PROJECT