diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-09 13:58:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-09 14:59:09 -0700 |
commit | 3bfba20dae16384cb7112268462bd01d30d4a698 (patch) | |
tree | 4c86f0f7fa049a8b198f695e0d7395d781b9013c /t/t0030-stripspace.sh | |
parent | convert: make it safer to add conversion attributes (diff) | |
download | tgif-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 't/t0030-stripspace.sh')
0 files changed, 0 insertions, 0 deletions