Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept empty emails in ParsePatchIdentity #42

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

bluekeyes
Copy link
Owner

Git is actually more lenient here than I thought. As long as the identity contains the "<>" delimiters, Git will allow an empty email, so we should accept the same thing. I also discovered that an identity with only an email set will use the email as the name, so I've implemented that behavior as well.

Fixes #41.

Git is actually more lenient here than I thought. As long as the
identity contains the "<>" delimiters, Git will allow an empty email, so
we should accept the same thing. I also discovered that an identity with
only an email set will use the email as the name, so I've implemented
that behavior as well.
@bluekeyes bluekeyes merged commit 3f2ea5c into master Mar 7, 2024
1 check passed
@bluekeyes bluekeyes deleted the bkeyes/empty-email branch March 7, 2024 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git patch with empty emails causing parse errors
1 participant