[Lazarus] Masks: the naming of ...

Bart bartjunk64 at gmail.com
Tue Nov 2 23:24:37 CET 2021

On Tue, Nov 2, 2021 at 8:21 PM Juha Manninen via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

> Bart, please run the TMask unit test project while you change the code.

Whilst doing that I fiddled around with bot the tests and the masks unit.
I then wanted to commit (push) these changes seperately.
I got stuck.
In svn I could commit a single file, then another.
I git I don;t know how to do that.

My workflow currently is:

make changes
git commit files I changed (solve one problem per commit)
git pull (I have pull.rebase=true)
git push

I resorted to do a git restore on the changes to the test suite, then
commiited and pushed the changes to masks unit.
(And then I found out my changes to the testsuit were unnecessary, so
that saved me from doing the changes all over again...)

PS. The test suite runs fine again (but see my remarks on the
wqFilenameEnd quirk.

PS 2: building any program in the lazarus tree pollutes my tree and
git gives warnings about untracked files:
Here's what git tells me after building the test suite for masks unit:
C:\devel\lazarus>git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

nothing added to commit but untracked files present (use "git add" to track)

Is there a way to suppress the warning about untracked files alltogether?
Orr whould all this be added to our .gitignore file?


More information about the lazarus mailing list