Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Issue 3352008: Configure git author name and git author email in .gitconfig. (Closed)

Created:
10 years, 3 months ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
anush
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, sosa, anush
Visibility:
Public.

Description

Configure git author name and git author email in .gitconfig. If git author name is different in the chroot from outside the chroot, repo may auto-delete your changes when you run repo sync. These changes can be recovered, but their deletion is inconvenient. BUG=chromium-os:5934 TEST=Check that git var GIT_COMMITTER_IDENT is now correct inside chroot. Change-Id: I622cd37caa404a7482c55c4b3984877b32b3807c Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=0fd8af4

Patch Set 1 #

Patch Set 2 : Replace all user.name / user.email settings. Also, cd /tmp to avoid repo-specific settings. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M enter_chroot.sh View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
davidjames
10 years, 3 months ago (2010-09-07 23:45:01 UTC) #1
kliegs1
Will this cause any trouble with private repos that use different credentials than the public ...
10 years, 3 months ago (2010-09-08 00:54:06 UTC) #2
anush
As per discussion with sop that I forwarded to you earlier "You may be able ...
10 years, 3 months ago (2010-09-08 06:16:37 UTC) #3
davidjames
On 2010/09/08 06:16:37, anush wrote: > As per discussion with sop that I forwarded to ...
10 years, 3 months ago (2010-09-11 01:06:05 UTC) #4
anush
LGTM On 2010/09/11 01:06:05, davidjames wrote: > On 2010/09/08 06:16:37, anush wrote: > > As ...
10 years, 3 months ago (2010-09-11 23:46:34 UTC) #5
davidjames
10 years, 3 months ago (2010-09-12 23:25:59 UTC) #6
Switched from --add to --replace-all to ensure same settings aren't listed
multiple times. Also cd /tmp to make sure we aren't picking up local settings
configured in .git/config and making them global. This ensures that git var (1)
either picks up settings for ~/.gitconfig; or (2) uses the global defaults
picked up from the system or even LDAP.

Powered by Google App Engine
This is Rietveld 408576698