3 ms·
You do lose the information about where to apply the patch. This isn't a big problem for rebase-friendly crowd. But people who prefer the merge strategy strictl
by goku12 3y ago
You do lose the information about where to apply the patch. This isn't a big problem for rebase-friendly crowd. But people who prefer the merge strategy strictly may not like it.
- Corsome 3y agoAFAICS there's `--base=auto` which captures explicit parent's sha in the patch text output (there's also a git config option to do that automatically). Source: https://git-scm.com/docs/git-format-patch#_base_tree_information https://git-scm.com/docs/git-format-patch#_base_tree_informa...
- goku12 3y agoThank you for the information! This is the first time I'm hearing about it. Would you happen to know how this information is used? Is it just for the maintainer, or is there a tool that can use it? (I couldn't find any other reference)
- Corsome 3y agoLast time I checked it was only for maintainers convenience but the idea of using it by some tooling was already being discussed: https://people.kernel.org/monsieuricon/all-patches-must-include-base-commit-info https://people.kernel.org/monsieuricon/all-patches-must-incl...