<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">On Wed, Nov 3, 2021 at 12:27 AM Bart via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Whilst doing that I fiddled around with bot the tests and the masks unit.<br>
I then wanted to commit (push) these changes seperately.<br>
I got stuck.<br>
In svn I could commit a single file, then another.<br>
I git I don;t know how to do that.<br></blockquote><div><br></div><div>A resolution by file for commits in arbitrary and limiting.</div><div>Often changes for one feature or bug fix must spread to many files, and often changes made in one file should be split into many commits.</div><div><div>"git gui" allows to include/exclude hunks and even single lines in/from a commit. I believe your GUI tool supports the same thing.</div></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
My workflow currently is:<br>
<br>
make changes<br>
git commit files I changed (solve one problem per commit)<br>
git pull (I have pull.rebase=true)<br>
git push<br>
</blockquote><div><br></div><div><div>Make many commits. Some of them may be experimental, no problem.<br></div></div><div>Finally go through them, fix errors, join commits together, remove commits purely for debugging, and finally push.</div><div>If a feature gets longer to finish, keep it in a local branch and rebase to main sometimes.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
PS. The test suite runs fine again (but see my remarks on the<br>
wqFilenameEnd quirk.<br></blockquote><div><br></div><div>Here it gives an error from procedure TestWindows.</div><div>I don't see commits from you in the TestMasks project.</div><div><br></div><div>Regards,</div><div>Juha</div><div><br></div></div></div></div></div></div></div></div></div>