you could do something like this and it would deal with the srlf/lf problem, but
if you instead put in the conversion hooks like Ted suggested then you can
actually gain a LOT more.
his example of openoffice documents that are gziped xml files is a very good
one. if the 'conversion' is to gunzip on checkin and gzip on checkout then the
core git logic will work on the nice diffable xml instead of the compressed
binary blob.
if this is extensable to arbatrary helper functions to do the conversions I'll
bet that there are many other cases that can use this.
I think the big questions needs to be, is this helper app a filter, or can it be
passed a filename as the destination (which would let it do things like set
permissions on the files it creates), or should it be both?
David Lang
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html