Our beautiful fake histories
joeyh.name
Our beautiful fake histories
1–10 of 15 posts
Re: Our beautiful fake histories
#2Re: Our beautiful fake histories
#3 "!git checkout `git rev-list --bisect --first-parent`"Re: Our beautiful fake histories
#4Re: Our beautiful fake histories
#5I have to side with Joey on this one. Sure in a world like the Linux kernel, where things are still done via emailed patches, avoiding sending a patch-bomb to a maintainer warrants some editorial control on the history of a feature. However, like Joey, I tend to find beauty in the organic evolution of code. Plus I like others to see all the commits where I'm just cursing out build systems, or dev tools or just mumbli…
The combination of the two can make it difficult to "evolve" the code incrementally towards a wildly different solution, but I think it's a good step to reduce the complexity individual developers and maintainers have to deal with, as well as enforcing desirable properties of the resulting git commits.
Re: Our beautiful fake histories
#6Re: Our beautiful fake histories
#7It's not about faking anything, it's a question of what information you want to leave for posterity. And frankly I come down pretty strongly against preserving warts for warts sake. As a rule of thumb, commits should be as fine-grained as possible without breaking the build. In my experience more detail than that gives diminishing returns in utility as the signal-to-noise ratio drops and you get overwhelmed with details which only represent a brain fart on the part of the developer, and never had any measurable impact on the project.
Re: Our beautiful fake histories
#8Re: Our beautiful fake histories
#9I take issue with the title. Is there a VCS that commits every keystroke individually? No, because that wouldn't be useful. There is always a choice in when and what to commit. The only thing with git is that it makes it easy to change things after the fact, but you can achieve something pretty close in svn by simply not committing until you're done with a feature. It's not about faking anything, it's a question of w…
Exactly, i bet when this guy wrote his blog post he used backspace more than once. No idea why he thinks git is any different.
I commit all kind of garbage while developing: stackoverflow references, commented code examples, temp commits when i have to leave in a hurry, etc... rebasing --interactive + merge (with optional no-ff if you hate linear history) is a must and basic respect for your colleagues.
You can cook naked if you want but i dont want to see your pubes in my meal.
Re: Our beautiful fake histories
#10I've been thinking of a "sub-commit" concept, so a "beautiful, fake" commit that is atomic for most git operations, can be inspected more deeply, revealing bundled messy sub-commits that may be useful for understanding the history of that change. You get "every commit is a deliberately chosen, well-tested logical unit" as well as "present history as it actually happened." Maybe something like this can be done with ce…