On Wed, Sep 05, 2007 at 12:09:27AM -0700, Linus Torvalds wrote:Well, this may just prove I'm an idiot, but one of the reasons I rarely run it is that I have trouble remembering exactly what it does; in particular, - does it prune anything that might be needed by a repo I cloned with -s? - is there anything that's unsafe to do while the git-gc is running? - what are the implications for http users if this is a public repo? - is git-gc enough on its own or should I be running something more agressive ocassionally too? No doubt they all have simple answers, which probably amount to "just don't worry about it", and which I could have found in less time than it'd take to write this email. But when I've got other work to do, reading "man git-gc" is just enough effort for me to postpone the whole thing to another day. So, anyway, your message reminded me to run git-gc on my main working repo. At which point one of my personal scripts immediately started failing--it was assuming it could find any ref under .git/refs/, and I hadn't realized (or maybe I had once, and I'd forgotten) that git-gc packs refs by default now. Bah. I don't know what the moral of that story is. --b. - 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
| Ingo Molnar | Re: x86: 4kstacks default |
| Gabriel C | modpost errors ( Re: 2.6.23-rc6-mm1) |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Press, Jonathan | RE: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface foron access scann... |
git: | |
| David Miller | Re: iptables very slow after commit784544739a25c30637397ace5489eeb6e15d7d49 |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 13/37] dccp: Deprecate Ack Ratio sysctl |
