| Summary: | should remember commit details across commits | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Rafael Chaves <eclipse> | ||||||
| Component: | Git | Assignee: | Project Inbox <orion.git-inbox> | ||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | ken_walker | ||||||
| Version: | 2.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Rafael Chaves
There are a few git settings that can be remembered. On the Settings Page->User Profile section there is both a Git Config section and also under that is a toggle to remember Git Credentials. If you toggle this, your info can be persisted in local storage. The next time you access a repository and the credentials dialog or popup comes up, there should be a toggle to remember it. If these are not adequate please describe what you'd like. I'm not going to close this bug unless you believe the description and options described above are enough. My git credentials (required for pushing) are remembered. I am referring to that form dialog that pops up when *committing*. Those are never remembered, right? You have to toggle that setting in the profile page. Then the next time you are prompted there's a toggle to remember it. I have this set and can just fetch and push without prompt. If you clear your localStorage/cache then it will be forgotten. Ken, are you talking about pushing or commit? The problem I am reporting is about commit time, not push. Created attachment 228169 [details]
Commit
This is what I see when I commit
Yeah, I figured we must not be seeing the same thing. This is what I see: http://www.screenr.com/vDt7 Ken, does this report make more sense now? Have you ever seen that behavior? Created attachment 228294 [details]
Configuration User section of Git page
Ok, I needed to create a new user to see that dialog and try a bunch of scenarios. So if you've already loaded a git repo BEFORE filling in the username and email address in the User profile section then it's empty and you will always get that prompt. The solution is to unload your repository, and then load it back up. To see if a name is assigned you can click on a repository in your list of repos, then scroll down to the bottom and see the name under Configuration (user.*). Ah, never noticed that configuration section in the repository itself. Makes sense as it is repository (or at least server) specific. I just recloned one of the repos I already had and indeed the configuration section showed my git credentials, and when trying to commit, I was not asked for them. Yay! Thanks. Now, knowing that behavior makes this more avoidable, but I'd still expect that if I didn't have the user name/email in my profile, I'd be asked to enter them once at commit time, and from there on that user name/email were automatically set for that repository, so I wouldn't be asked again in following commits. truth. so do you want to close this bug and open a feature request as per comment 10? actually, I guess this does have the right title. See also bug 350012. 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 |