[fpc-devel] Submitting patches using git
Sven Barth
pascaldragon at googlemail.com
Sat Jul 20 22:19:57 CEST 2019
Am 20.07.2019 um 18:58 schrieb Ryan Joseph:
> 3) remove .gitignore (which now includes thousands of .o/.ppu files which need to be deleted) and any other unrelated personal files.
Why is your .gitignore so big? Mine looks like this:
=== file begin ===
# ignore binary files
*.o
*.ppu
*.exe
*.pcp
*.a
*.dll
*.ppl
*.rsj
*.bak
*.lst
*.diff
*.patch
*.wpo
*.lps
# ignore fpmake files
*.fpm
# ignore other build files
*-stamp.*
fpcmade.*
backup/
bin/
units/
* - Kopie*
fpmake
lazbuild/
fpctests/
testoutput/
*.mod
ppc*
=== file end ===
(The "* - Kopie*" one is due to me sometimes doing copies with Windows
Explorer when I want to split changes that "git add -p" can't handle,
same for "*.mod" for manual copies on the command line ;) )
This keeps my status output relatively clean (and I'm sure that I could
improve it further):
=== output begin ===
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: compiler/aasmcnst.pas
modified: compiler/ppcx64.lpi
modified: tests/test/units/fpcunit/testcomps.pp
Untracked files:
(use "git add <file>..." to include in what will be committed)
.gitconfig
.gitignore
compile-rtl-objpas-testrunner.bat
compiler/cextflt.pas
compiler/utils/fpc
compiler/utils/mka64ins
compiler/utils/mkarmins
compiler/utils/mkx86ins
compiler/utils/ppudump
compiler/utils/ppufiles
compiler/utils/ppumove
output.wp-pp.txt
packages/dyncall/
packages/rtl-objpas/tests/testrunner.rtlobjpas
ppudump.txt
q
rtl-objpas-tests/
rtl/embedded/arm/samd21g18a.pp
tests/createlst
tests/gparmake
tests/output/
tests/tbs/tb0658.pp
tests/tstunits/i386-win32/
tests/tstunits/tmp/
tests/tstunits/x86_64-linux/
tests/tstunits/x86_64-win64/
tests/utils/concat
tests/utils/digest
tests/utils/dotest
tests/utils/fail
tests/utils/fptime
tests/utils/testfail
tests/webtbs/tw35019.pp
tests/webtbs/tw35248.pp
utils/importwinmd/
windows-ppu.txt
no changes added to commit (use "git add" and/or "git commit -a")
=== output end ===
Regards,
Sven
More information about the fpc-devel
mailing list