
Git settings for Igor Pro code

thomas_braun
Local git settings:
# matching tab width convention for diff/log etc.
git config core.pager "less -x5"
# better readable diff output
[diff "igorpro"]
xfuncname = "^([[:space:]]*(.*[Ff]unction|Macro|Window|Proc|Structure).*)$"
.gitignore
*.ipfT*
.gitattributes
.git* export-ignore
*.ipf diff=igorpro
# git diff --check should output something useful
*.ipf whitespace=indent-with-non-tab,tabwidth=4,trail,space
# mark files as binary
# you can also add -delta if you regularly
# commit large files of these types
*.ibw binary
*.xop binary
*.pxp binary
*.pxt binary
*.uxp binary
*.uxt binary
*.ihf binary
*.ifn binary
*.ift binary
# automatic end of line normalization
*.ipf eol=lf

Forum

Support

Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More
December 5, 2014 at 04:50 pm - Permalink
Igor can leave behind temporary files (the "T" part) for procedure files (.ipf) if something goes wrong.
Those files shouldn't be checked into a repository.
Files listed in .gitignore aren't added to a repository.
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
December 5, 2014 at 08:02 pm - Permalink
Thanks for the clarification, Jim
December 8, 2014 at 01:42 pm - Permalink