Thread (6 messages) flat view 6 messages, 5 authors, 2016-06-15

Re: is it kosher for pre-commit to change what's staged?

From: Dmitry Potapov <hidden>
Date: 2016-06-15 22:50:00

On Wed, Nov 10, 2010 at 11:45 PM, Joey Hess [off-list ref] wrote:
That said, since git commit stages the whole large file into the index,
which is the kind of expensive operation git-annex exists to avoid,
it's still not very practical to intercept the commit like that. What
I ideally need is a hook that is run before git commit stages anything.
Then maybe you should look at git smudge&clean filters. They perform
conversation between the working tree and the index.  Though I am not
sure how well they work with big files.


Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help