2 ms·
It does, but in a roundabout way. You can create a private branch, keep committing to it and when you're ready, merge it to the public branch with a single comm
by thunderbong 4y ago
It does, but in a roundabout way. You can create a private branch, keep committing to it and when you're ready, merge it to the public branch with a single commit message.
IMHO, this solves all issues in a very elegant way - my local repository shows all the commits (both private and public) but everyone else's shows all the commits as intended by the developers. Additionally, the public history is maintained consistently without wondering if someone messed it up.
https://www.fossil-scm.org/home/doc/4d8aecdf/www/private.wiki https://www.fossil-scm.org/home/doc/4d8aecdf/www/private.wik...
- the_duke 4y agoHow wouod you do code reviews then? Git style mailing of patches?
- int_19h 4y agoVery interesting, thank you! Unfortunately, the doc page doesn't make it clear that the merge would produce a single commit; I wish this was clearer. Also, do I understand it correctly that it's a single branch named "private" per repo?
- bonzini 4y agoSquashing the whole development in a single commit will lose granularity though, and make it hard to review the changes later. You could just use quilt (patch queues) for development, it's not optimal to have two tools though.