aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2016-04-24 09:48:26 +0200
committerMichael Haggerty <mhagger@alum.mit.edu>2016-06-13 11:23:49 +0200
commitc52ce248d63a185eb0a616b361d1fd72c5c66451 (patch)
tree035bec75e98005be432d414db665abdac2e25be0 /contrib/persistent-https
parentrefs: make error messages more consistent (diff)
downloadgit-c52ce248d63a185eb0a616b361d1fd72c5c66451.tar.gz
git-c52ce248d63a185eb0a616b361d1fd72c5c66451.zip
ref_transaction_create(): disallow recursive pruning
It is nonsensical (and a little bit dangerous) to use REF_ISPRUNING without REF_NODEREF. Forbid it explicitly. Change the one REF_ISPRUNING caller to pass REF_NODEREF too. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions