diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2013-01-28 22:31:30 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2013-01-29 08:15:18 +0200 |
commit | bd587d5bff20c0eb10d4cb14e29ef948231df142 (patch) | |
tree | 8ecb5ec744d2f310f2f0501f9bff0defee7f8316 | |
parent | d16005305554c30c637428240c76d8292c2122d8 (diff) | |
download | librpm-tizen-bd587d5bff20c0eb10d4cb14e29ef948231df142.tar.gz librpm-tizen-bd587d5bff20c0eb10d4cb14e29ef948231df142.tar.bz2 librpm-tizen-bd587d5bff20c0eb10d4cb14e29ef948231df142.zip |
Setup git identity in __scm_setup_git (RhBug:905002)
- For some reason on my own account git keeps functioning even if
I remove its configuration, but on a newly created account git commit
bails out with "Please tell me who you are" unless we set the
(per-repo) configuration here.
(cherry picked from commit 321a87d789bb090c88c541f7f158ae922ddee3ff)
-rw-r--r-- | macros.in | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1057,6 +1057,8 @@ done \ # Git %__scm_setup_git(q)\ %{__git} init %{-q}\ +%{__git} config user.name "%{__scm_username}"\ +%{__git} config user.email "%{__scm_usermail}"\ %{__git} add .\ %{__git} commit %{-q} -a\\\ --author "%{__scm_author}" -m "%{name}-%{version} base" |