A possible workflow to do partial commits in fossil could be: - fossil diff --tk --partial-commit
(A special version of fossil diff --tk appears where there is a checkbox in every difference) - Select some differences - Save and quit (Then, an automatic "fossil stash" is performed where the original modified files are stored. The files left in the working area only contain the selected differences) - Compile and test - fossil commit (command could print a message remembering us that there is a pending automatic stash and the way to recover it) - fossil stash pop The trick here is that the GUI tool should perform the stash automatically, to avoid accidental loss of modified code and should inform the user of the situation. RR 2015-03-20 9:31 GMT+01:00 Gour <g...@atmarama.net>: > Richard Hipp <d...@sqlite.org> writes: > >> Please help me to understand why people think that the git staging >> area is a good idea. > > Considering that git provides 'commit -a' option which practically > eliminates staging area. > > Moreover, the author of very popular Pro Git book > (http://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository) > in "Skipping the Staging Area" section says: > > "Although it can be amazingly useful for crafting commits exactly how > you want them, the staging area is sometimes a bit more complex than you > need in your workflow. If you want to skip the staging area, Git > provides a simple shortcut. Adding the -a option to the git commit > command makes Git automatically stage every file that is already tracked > before doing the commit, letting you skip the git add part..." > > which led me to conclude that we can live in Fossil without it. ;) > > > Sincerely, > Gour > > -- > Therefore, without being attached to the fruits of activities, > one should act as a matter of duty, for by working without > attachment one attains the Supreme. > > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users