Skip to content

Feature: Select author by name or email#2

Open
nwallace wants to merge 4 commits intoedsinclair:masterfrom
nwallace:feature/select-by-name-or-email
Open

Feature: Select author by name or email#2
nwallace wants to merge 4 commits intoedsinclair:masterfrom
nwallace:feature/select-by-name-or-email

Conversation

@nwallace
Copy link

I work with someone who has the same initials as me (even the same middle initial!). The only way we can use this is if we put in his middle initial but omit mine -- then he can be chosen with "nmw" and me with "nw". This patch extends the selection logic to also match on name (first or last) or email address. I think using the person's first name is the most natural way to select an author, but the other options are there in case of conflicts. Initials still work as well, of course.

I had to base this pull request off my other pull request, since the tests won't run otherwise, but if that's a problem, I can rebase and separate those commits.

Thanks!

Cucumber tests rely on Test::Unit assertions, but that wasn't specified
as a dependency. Additionally, the cucumber test setup was not correctly
setting up the temporary git repository due to a rogue `&&`.
@nwallace nwallace force-pushed the feature/select-by-name-or-email branch from 29b2107 to 4711f38 Compare October 17, 2019 03:49
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.

1 participant