Re: [BUG] stgit: unexpected "unknown user details" on refresh
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Jan 5, 2007, 09:07 UTC
- Message-ID
- <b0943d9e0701050107s21ec8527ud89425df4772998@mail.gmail.com>
- In-Reply-To
- <20070104232224.GA12756@nan92-1-81-57-214-146.fbx.proxad.net>
On 04/01/07, Yann Dirson <ydirson@altern.org> wrote:
Show 6 quoted lines
> Here is an error I just got when refreshing. The refresh did occur, but > the error is annoying and may hide something: > > dwitch@gandelf:/export/work/yann/git/stgit$ ./stg ref contrib/stg-whatchanged > Checking for changes in the working directory... done > Refreshing patch "whatchanged"...stg ref: unknown user details
I changed StGIT to use the same configuration file as GIT and it cannot find the user information. To remove the error:
git repo-config --global user.name Yann Dirson git repo-config --global user.email ydirson@altern.org
It probably tries to set the author information for the patch and GIT_AUTH* or GIT_COMMIT* aren't set but it would be probably useful to get the full backtrace of this error (at the end of the stgit/main.py file, just add a "raise" before sys.exit(2)).
-- Catalin