Skip to content

Commit

Permalink
recognize alternate github access mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
briantoby committed Oct 4, 2024
1 parent 73b8db9 commit 36840cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GSASII/GSASIIpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ def HowIsG2Installed():
rev = '-rev'
if g2URL in g2repo.remote().urls:
return 'github'+rev
elif g2URL.replace('https://github.com/',
'[email protected]:') in g2repo.remote().urls:
return 'github'+rev
G2_installed_result = 'git'+rev
return G2_installed_result
except:
Expand Down

0 comments on commit 36840cb

Please sign in to comment.