* pre-commit hook, non-zero exit status and dangling objects
@ 2008-08-24 10:57 Сергей Шарыбин
2008-08-25 13:35 ` Tommi Virtanen
0 siblings, 1 reply; 2+ messages in thread
From: Сергей Шарыбин @ 2008-08-24 10:57 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pre-commit hook, non-zero exit status and dangling objects
2008-08-24 10:57 pre-commit hook, non-zero exit status and dangling objects Сергей Шарыбин
@ 2008-08-25 13:35 ` Tommi Virtanen
0 siblings, 0 replies; 2+ messages in thread
From: Tommi Virtanen @ 2008-08-25 13:35 UTC (permalink / raw)
To: Сергей Шарыбин
Cc: git
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.
--
:(){ :|:&};:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-25 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-24 10:57 pre-commit hook, non-zero exit status and dangling objects Сергей Шарыбин
2008-08-25 13:35 ` Tommi Virtanen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).