| Summary: | [user] The user should be asked to provide Git name/mail before first init/clone | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Git | Assignee: | Project Inbox <orion.git-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P4 | CC: | mamacdon, simon_kaegi |
| Version: | 0.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 349868 | ||
| Bug Blocks: | |||
|
Description
Szymon Brandys
Git Init and Clone takes the user name/mail from the user profile and create new repos with these settings. Could these Git operations report an error when the user profile does not contain these two settings instead of falling back to some env value? User name and mail are not needed when cloning a repo, they shouldn't be required. Same should be true for initing a repo, it's not in Orion case due to a workaround introduced for bug 339610 in JGit, see bug 339609 comment 1. We should get rid of the workaround, make sure we are able to handle repos with no HEAD and disallow committing when no name/mail is available (which afaik already takes place). I will have a loot at it during 0.5. It's a low priority though. Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |