summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-05-09 18:23:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-05-09 21:59:09 (GMT)
commit83295964b3289e957d028960f14a2b71348c39ed (patch)
tree29a44622f14e8374c8b1b6d18032dcb5d521e635 /commit.c
parentc61dcff9d6944eb35abf7fc7faa36f23a49fabf6 (diff)
downloadgit-83295964b3289e957d028960f14a2b71348c39ed.zip
git-83295964b3289e957d028960f14a2b71348c39ed.tar.gz
git-83295964b3289e957d028960f14a2b71348c39ed.tar.bz2
convert: make it safer to add conversion attributes
The places that need to pass an array of "struct git_attr_check" needed to be careful to pass a large enough array and know what index each element lied. Make it safer and easier to code these. Besides, the hard-coded sequence of initializing various attributes was too ugly after we gained more than a few attributes. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions