All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue: repack semi-frequently fails on Windows (msysgit) - suspecting file descriptor issues
@ 2015-04-16 10:03 Andreas Mohr
  2015-04-16 11:10 ` Thomas Braun
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Mohr @ 2015-04-16 10:03 UTC (permalink / raw)
  To: git

Hi all,

over the years I've had the same phenomenon with various versions of msysgit
(now at 1.9.5.msysgit.0, on Windows 7 64bit), so I'm now sufficiently
confident of it being a long-standing, longer-term issue and thus I'm
reporting it now.

Since I'm doing development in a sufficiently rebase-heavy manner,
I seem to aggregate a lot of objects.
Thus, when fetching content I'm sufficiently frequently greeted with
a git gc run.
This, however, does not work fully reliably:

    Auto packing the repository for optimum performance. You may also
    run "git gc" manually. See "git help gc" for more information.
    Counting objects: 206527, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (27430/27430), done.
    Writing objects: 100% (206527/206527), done.
    Total 206527 (delta 178632), reused 206527 (delta 178632)
    Unlink of file '.git/objects/pack/pack-ab1712db0a94b5c55538d3b4cb3660cedc264c3c.pack' failed. Should I try again? (y/n) n
    Unlink of file '.git/objects/pack/pack-ab1712db0a94b5c55538d3b4cb3660cedc264c3c.idx' failed. Should I try again? (y/n) n
    Checking connectivity: 206527, done.

A workable workaround for this recurring issue
(such a fetch will fail repeatedly,
thereby hampering my ability to update properly)
is to manually do a "git gc --auto"
prior to the fetch (which will then succeed).




-- 
¿umop apisdn upside down?
(by daniweb.com user Bench)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-04-23  6:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-16 10:03 Issue: repack semi-frequently fails on Windows (msysgit) - suspecting file descriptor issues Andreas Mohr
2015-04-16 11:10 ` Thomas Braun
2015-04-16 11:31   ` Johannes Schindelin
2015-04-16 11:42     ` Andreas Mohr
2015-04-16 11:48       ` Andreas Mohr
2015-04-16 12:35         ` Andreas Mohr
2015-04-16 13:07           ` Johannes Schindelin
2015-04-16 11:35   ` Andreas Mohr
2015-04-16 15:28     ` Jeff King
2015-04-16 15:48       ` Johannes Schindelin
2015-04-16 15:56         ` David Miller
2015-04-16 20:56         ` Andreas Mohr
2015-04-23  6:52       ` rupert thurner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.