Commits to ::Git after changing email address...
-
I just changed my email address about two weeks ago. Since then my commits lost connection with my account (also commits before the change, but commits after the change too). It also seems that I can commit with both old and new email... See here: https://workspaces.codeproject.com/kornfeldeliyahupeter/codeproject.com/wysiwyg-editor/commits/master/1[^] (I changed email somewhere before the 11th of June)
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
-
I just changed my email address about two weeks ago. Since then my commits lost connection with my account (also commits before the change, but commits after the change too). It also seems that I can commit with both old and new email... See here: https://workspaces.codeproject.com/kornfeldeliyahupeter/codeproject.com/wysiwyg-editor/commits/master/1[^] (I changed email somewhere before the 11th of June)
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
Well, that is how git works, it stores separate email and name with each commit. We do not filter that anyhow, and it would be a bad idea to do so. The only thing we can do is to match the committers emails to current accounts, and display user information, if there is a match.
-
Well, that is how git works, it stores separate email and name with each commit. We do not filter that anyhow, and it would be a bad idea to do so. The only thing we can do is to match the committers emails to current accounts, and display user information, if there is a match.
OK...fair enough...for the first problem. But! just now I pushed files to here https://workspaces.codeproject.com/kornfeldeliyahupeter/pashta_cpp[^]. ::Git let me push files to this private ::Workspace using my old email as username, how that can be?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
-
OK...fair enough...for the first problem. But! just now I pushed files to here https://workspaces.codeproject.com/kornfeldeliyahupeter/pashta_cpp[^]. ::Git let me push files to this private ::Workspace using my old email as username, how that can be?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
You mean when it is asking for username & password, you can give old email + your password and still get authorized?
-
You mean when it is asking for username & password, you can give old email + your password and still get authorized?
Almost...I'm using VS and it stores for me the credentials. As now it has username peter at rashim dot co dot il (old email) and the same as email address. I would except that ::Git for private ::Workspace would refuse to push with that credentials as it not anymore mach my CP account...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
-
Almost...I'm using VS and it stores for me the credentials. As now it has username peter at rashim dot co dot il (old email) and the same as email address. I would except that ::Git for private ::Workspace would refuse to push with that credentials as it not anymore mach my CP account...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
Actually, the moment you changed email the old email should stop authorizing you anymore (but you still should be able to push commits done by old email, if the push is authorized by new email). I'll check that with Chris, as he is maintaining the authorization part.
-
Actually, the moment you changed email the old email should stop authorizing you anymore (but you still should be able to push commits done by old email, if the push is authorized by new email). I'll check that with Chris, as he is maintaining the authorization part.
Now I did a test - changed my username and email to something different (not exits in fact) and pushed changes - it went smoothly and now I can see that email (david) on the commit list... Seems to me not right!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
-
Almost...I'm using VS and it stores for me the credentials. As now it has username peter at rashim dot co dot il (old email) and the same as email address. I would except that ::Git for private ::Workspace would refuse to push with that credentials as it not anymore mach my CP account...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
Are you sure that you are authorizing via https and using the old email? We cannot reproduce this situation, the moment user changes email he cannot push anymore. However, if you are using SSH, then you are authorized by SSH key and your email is not used for authorization anymore. Similarly, you may authorize HTTPS by your username (KornfeldEliyahuPeter) and in such scenario your old email is not used for authorization, either. Can you confirm which case out of the 3 above you use?
-
Are you sure that you are authorizing via https and using the old email? We cannot reproduce this situation, the moment user changes email he cannot push anymore. However, if you are using SSH, then you are authorized by SSH key and your email is not used for authorization anymore. Similarly, you may authorize HTTPS by your username (KornfeldEliyahuPeter) and in such scenario your old email is not used for authorization, either. Can you confirm which case out of the 3 above you use?
OK. It seems that VS fooled me and I fooled you in turn... VS does not use the username/email (two separate fields) that displayed in the Git settings page, but has a hidden storage somewhere... So even I'm changing username VS still authenticates using the stored values and will ask for credentials only if it fails... Username used as email and email not used at all... What a fun to use VS :mad: Sorry to being fool and more sorry to foul you...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
-
OK. It seems that VS fooled me and I fooled you in turn... VS does not use the username/email (two separate fields) that displayed in the Git settings page, but has a hidden storage somewhere... So even I'm changing username VS still authenticates using the stored values and will ask for credentials only if it fails... Username used as email and email not used at all... What a fun to use VS :mad: Sorry to being fool and more sorry to foul you...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
This is what I suspected, thanks for clarification. You've just spared me some grepping through the logs to prove the same point ;) Btw. git has the credential helper which does cache credentials just like this. Maybe VS is just using it.
-
This is what I suspected, thanks for clarification. You've just spared me some grepping through the logs to prove the same point ;) Btw. git has the credential helper which does cache credentials just like this. Maybe VS is just using it.
I will check. The sad that no documentation about the Git extension from Microsoft (not news here I think), so I have to dig into. I found all this out by going to git command line and sniffing with Fiddler...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)