summaryrefslogtreecommitdiff
path: root/Utilities/GitSetup/setup-user
Commit message (Collapse)AuthorAgeFilesLines
* setup-user: restore portabilityJiri Malak2020-04-151-1/+8
| | | | | | | | | | Changes in commit 5129e97285 (setup-user: switch to git-var to check if username and e-mail are set, 2019-11-24, v3.17.0-rc1~379^2) now require the `rev` and `cut` tools to be available. Revise the logic to use that approach only when they are available, and otherwise fall back to the previous more portable approach. Co-Author: Brad King <brad.king@kitware.com>
* setup-user: switch to git-var to check if username and e-mail are setArkadiusz Drabczyk2019-11-241-4/+4
| | | | | | | | | | In git, apart from setting username and e-mail in .gitconfig it's also possible to set username in /etc/passwd and set e-mail using EMAIL environment variable. The advantage of this method is that other programs such as mutt or doxygen will pick up these settings up so there is no need to set them separately in each program. Current way of checking if username and e-mail are set using git config results in failure if they are set using this method.
* Merge branch 'setup' into developer-setupBrad King2012-03-021-0/+39
Add Utilities/GitSetup/ directory using subtree merge from the general GitSetup repository "setup" branch.