On 23-Oct-18 8:52 PM, Christian Couder wrote:
On Tue, Oct 23, 2018 at 6:35 PM Slavica <slavicadj.ip2018@xxxxxxxxx> wrote:
This is part of enhancement request that ask for `git stash` to work even if `user.name` is not configured.
The issue is discussed here: https://public-inbox.org/git/87o9debty4.fsf@xxxxxxxxxxxxxxxxxxx/T/#u.
We prefer commit messages that contain as much as possible all the
information necessary to understand the patch without links to other
places.
It seems that only this email from you reached me. Did you send other
emails for patches 2/3 and 3/3?
[...]
Okay, I will change that. This is my first patch and I am still adapting.
Emails for patches 2/3 and 3/3 because aren't there because I am still
preparing them.
(I didn't know if I had 3 patches in plan that they should be sent at
almost the same time.)
+ (
+ HOME=$(pwd)/none &&
+ export HOME &&
+ unset GIT_AUTHOR_NAME &&
+ unset GIT_AUTHOR_EMAIL &&
+ unset GIT_COMMITTER_NAME &&
+ unset GIT_COMMITTER_EMAIL &&
+ test_must_fail git config user.email &&
+ echo changed >1.t &&
+ git stash
It seems that the above line is not indented like the previous ones.
I don't know what is the reason, in my IDE everything seems fine, but
I'll fix it.
+ )
+'
Thanks for contributing,
Christian.
You are welcome,
Slavica