on master help sign in
use 'forgetGithub'
commit5dd9fe3a2727d5c69335ecb1a7a5ed62be994aba authorhsloan <ishaqsloan@gmail.com> dateWed 28 Nov 2018, 15:51 (8 years ago) parent6ea4544
1 file changed+2−6
lib/command/src/Obelisk/Command/Thunk.hs+2−6
lib/command/src/Obelisk/Command/Thunk.hs+2−6
@@ -633,12 +633,8 @@ setThunk' noTrail branch thunkDir = checkThunkDirectory thunkDir >> readThunk th
633633 Right (ThunkData_Packed thunkptr) -> do
634634 let thunkSrc = _thunkPtr_source thunkptr
635635 repository = case thunkSrc of
636− ThunkSource_Git gitSource -> (T.unpack $ render $ _gitSource_url gitSource)
637− ThunkSource_GitHub gitHubSource -> T.unpack $ "git@github.com:"
638− <> (untagName $ _gitHubSource_owner gitHubSource)
639− <> "/"
640− <> (untagName $ _gitHubSource_repo gitHubSource)
641− <> ".git"
636+ ThunkSource_Git gitSource -> T.unpack $ render $ _gitSource_url gitSource
637+ ThunkSource_GitHub gitHubSource -> T.unpack $ render $ _gitSource_url $ forgetGithub True gitHubSource
642638 -- check to see if branch exists before modifying directory
643639 (exitCode, _) <- gitLsRemoteExitCode repository branch
644640 case exitCode of