pre-commit hook, non-zero exit status and dangling objects

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

pre-commit hook, non-zero exit status and dangling objects

From: Сергей Шарыбин <hidden>
Date: 2016-06-15 22:45:13

Hi,

After pre-commit returned non-zero status, I could see new dangling 
objects in my repo. I think it's not normal, because pre-commit is often 
used for checking formation of source files and after changing this 
files, hash of object will be also changed and even after successfull 
commit dangling object will be still alive.

--
With best regards, Sergey I. Sharybin

Re: pre-commit hook, non-zero exit status and dangling objects

From: Tommi Virtanen <hidden>
Date: 2016-06-15 22:45:13

On Sun, Aug 24, 2008 at 04:57:52PM +0600, Сергей Шарыбин wrote:
After pre-commit returned non-zero status, I could see new dangling  
objects in my repo. I think it's not normal, because pre-commit is often  
used for checking formation of source files and after changing this  
files, hash of object will be also changed and even after successfull  
commit dangling object will be still alive.
You also get dangling objects by running git add. There's no harm in
them, they will be cleaned up automatically.

-- 
:(){ :|:&};:
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help