diff --git a/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs b/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs index 7204731..bccd95f 100644 --- a/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs @@ -24,7 +24,6 @@ public sealed class NewGitRepoCommand : PSCmdlet var repoFolder = GitManager.IsGitRepo(SessionState.Path.CurrentLocation.Path); GitManager.Instance.RegisterRepo(repoFolder.Directory, Name ?? repoFolder.Folder); - GitManager.ClearDebugWriter(); base.BeginProcessing(); diff --git a/src/PowershellModule/Git/Commands/SetGitRepoCommand.cs b/src/PowershellModule/Git/Commands/SetGitRepoCommand.cs deleted file mode 100644 index 383b436..0000000 --- a/src/PowershellModule/Git/Commands/SetGitRepoCommand.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.Management.Automation; -using ModuleCore.Git; - -namespace PowershellModule.Git.Commands; - -// TODO: decide if I want to use this verb instead of show. Currently this implementation is under Show-GitRepo -[Cmdlet(VerbsCommon.Set, GitCommands.GitRepoNoun)] -public class SetGitRepoCommand : PSCmdlet -{ - public SetGitRepoCommand() - { - } - - protected override void BeginProcessing() - { - SessionState.Path.SetLocation("F:/Repos/PowershellModule/src/PowershellModule/Git"); - base.BeginProcessing(); - } -} \ No newline at end of file diff --git a/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs b/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs index 6ff7909..3394ef3 100644 --- a/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs @@ -4,10 +4,6 @@ using ModuleCore.Git; namespace PowershellModule.Git.Commands; -// TODO: decide on if I like Show to be used as the verb name. Other options I have are push/pop and open. -// Seeing as this is likely just for me currently, Show-GitRepo suits my workflow more where I'll want to quickly just -// pushd into a git repo, do whatever I want to do with it/change directories in it whatever, and then popd at the end. -// I'll also be integrating the current stack into the custom prompt whenever I get around to doing that [Cmdlet(VerbsCommon.Show, GitCommands.GitRepoNoun)] public class ShowGitRepoCommand : PSCmdlet {