3 ms·
Yeah, honestly, the other arguments didn't carry much weight with me, but this one I find really annoying. When I'm looking back at history that had a bunch of
by hn_throwaway_99 9y ago
Yeah, honestly, the other arguments didn't carry much weight with me, but this one I find really annoying. When I'm looking back at history that had a bunch of merges, I don't want to have to guess which branch was which before a merge. It also seems like such an easy thing to add - you can kind of hack it up by just adding the branch name to the commit message with a pre-commit hook, but it would be really nice if git just kept track of it for you.
- chronial 9y ago> When I'm looking back at history that had a bunch of merges, I don't want to have to guess which branch was which before a merge. Merges in git actually have a "direction", i.e. git records which branch was merged into which. So that information is recorded.
- dchest 9y agoIt records which commits the commit came from, not which branch. merge /\ commit-hash1 commit-hash2 When branching, Fossil creates a branch commit with the branch name (similar to git tag object), and also records changes to branch name in commits.
- lozenge 9y agoExcept for fast forward merges, which I generally disable. (And pull should be set to ffonly)
- chronial 9y agoYeah, the git cli in its default settings is very hostile towards that information ^^. Pull actually works the wrong way around – it merges the remote branch into the local branch and then pushes that as the new remote branch. So if you follow the first parent, you land in the pullers local part and bypass everything he merged.