summaryrefslogtreecommitdiff
path: root/templates/hooks--post-receive.sample
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-05-09 13:58:31 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-09 14:59:09 -0700
commit3bfba20dae16384cb7112268462bd01d30d4a698 (patch)
tree4c86f0f7fa049a8b198f695e0d7395d781b9013c /templates/hooks--post-receive.sample
parentconvert: make it safer to add conversion attributes (diff)
downloadtgif-3bfba20dae16384cb7112268462bd01d30d4a698.tar.xz
convert: make it harder to screw up adding a conversion attribute
The current internal API requires the callers of setup_convert_check() to supply the git_attr_check structures (hence they need to know how many to allocate), but they grab the same set of attributes for given path. Define a new convert_attrs() API that fills a higher level information that the callers (convert_to_git and convert_to_working_tree) really want, and move the common code to interact with the attributes system to it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--post-receive.sample')
0 files changed, 0 insertions, 0 deletions