Hi, I am very new to git but I have thought about this a bit from a user's perspective. I have several thoughts on the matter. First, I would like to point out that the hg folks like to compare themselves to git a lot and they list the need for manual gc as a reason to choose hg over git. This may not be something that the git community cares about but I thought I would point it out. Second, it *is* a hassle. When trying to figure out what I could convince my co-workers to use, having to gc was something that I did not think they would be conscious of or care enough about to do. It makes git more of a PITA than it could be. Similarly, I have no idea when it is a good time to do a gc. After every commit? Before push? What if I never push a repo? What if it is a remote repo only used to sync up with my co-workers, do I have to go there and periodically gc? This is one reason why I really think that gc should be *plumbing* and *not* porcelain. The user should never have to trigger a gc, they should even be discouraged from doing so. That is how other gc systems are. Can you imagine if you had a Java app that had a button on it to do a gc? When should I push it? Should I wait till the system is getting slow or just start spamming the button whenever I'm bored? I know that Java/c#/py GC are different than git gc, but they fulfill the same basic purpose as git gc. IE to clean up unused items and free up resources. Git additionally may do some re-optimization, but that is not relevant to a user. I know this goes against the general mood here (which seems to be against auto-gc) but I thought I would give my $.02 as a user of git. Thanks, Govind. On 9/5/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:- 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
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Glauber de Oliveira Costa | [PATCH 0/19] desc_struct integration |
| Paolo Ornati | Re: [patch 00/69] -stable review |
| Ingo Molnar | [patch] CFS scheduler, -v6 |
git: | |
| Denis Bueno | git-instaweb portability issue (maybe?) |
| Jon Smirl | Re: Inconsistencies with git log |
| Johannes Schindelin | Re: [PATCH] Fix premature call to git_config() causing t1020-subdirectory to fail |
| Dan Farina | backup or mirror a repository |
| Marc Espie | Re: That whole "Linux stealing our code" thing |
| Ray Percival | Re: Real men don't attack straw men |
| askthelist | Packets Per Second Limit? |
| Didier Wiroth | how can I "find xyz | xargs tar" ... like gtar |
| Marcel Holtmann | Bluetooth fixes for 2.6.27 |
| Giacomo A. Catenazzi | Re: [BUG] New Kernel Bugs |
| Tilman Schmidt | Re: 2.6.25-rc8: FTP transfer errors |
| Ingo Oeser | Re: [PATCH]: Third (final?) release of Sun Neptune driver |
| high memory | 10 hours ago | Linux kernel |
| semaphore access speed | 13 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 14 hours ago | Linux kernel |
| Easter Eggs in windows XP | 17 hours ago | Windows |
| Shared swap partition | 18 hours ago | Linux general |
| Root password | 18 hours ago | Linux general |
| Where/when DNOTIFY is used? | 20 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 22 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 23 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
