[BUILDTOOLS-593] Don't intrusively set global git name and email Created: 17/Jun/21  Updated: 17/Jun/21  Resolved: 17/Jun/21

Status: Resolved
Project: BuildTools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: oddlama Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates BUILDTOOLS-26 Set git author locally instead of glo... Resolved
Version: git-BuildTools-7425fec-128
Guidelines Read: Yes

 Description   

When executing a normal build using {{java jar BuildTools.jar --rev 1.17 }}the script will intrusively set my global git username and email, which is absolutely unacceptable behavior. Most people leave it unset for a reason, especially when working with several different git identities to prevent identity confusion.

Instead of changing my global settings, BuildTools should only set the local git username and email in the repositories it cloned or created itself, by removing the --global flag and executing this part for each repository.

Dear BuildTool, please respect my .gitconfig. :O


Generated at Mon Mar 24 22:46:37 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.