remove uuid from url when calling git credential
The user doesn't want to see a uuid in the prompt. Also, when a http server is proxying, multiple remotes will have the same base url, and the same password will work for them all.
This commit is contained in:
parent
b89c784a9b
commit
75771772ec
2 changed files with 6 additions and 2 deletions
|
@ -88,3 +88,6 @@ parseP2PHttpUrl us
|
|||
, baseUrlPort = port
|
||||
}
|
||||
#endif
|
||||
|
||||
p2pHttpUrlWithoutUUID :: String -> String
|
||||
p2pHttpUrlWithoutUUID = reverse . dropWhile (/= '/') . reverse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue