Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
git/plandex ignore fixes
Dane Schneiderc192958a4681
diff --git a/.gitignore b/.gitignoreindex 8636fb0f..97766de5 100644--- a/.gitignore+++ b/.gitignore@@ -2,4 +2,4 @@.plandex-dev/plandexplandex-server-node_modules/\ No newline at end of file+node_modules/diff --git a/app/cli/cmd/load.go b/app/cli/cmd/load.goindex 175fe36a..316ff000 100644--- a/app/cli/cmd/load.go+++ b/app/cli/cmd/load.go@@ -49,5 +49,6 @@ func contextLoad(cmd *cobra.Command, args []string) {ForceSkipIgnore: forceSkipIgnore,})+ fmt.Println()term.PrintCmds("", "ls", "tell")}diff --git a/app/cli/fs/fs.go b/app/cli/fs/fs.goindex c7628a90..cca68cd5 100644--- a/app/cli/fs/fs.go+++ b/app/cli/fs/fs.go@@ -270,9 +270,11 @@ func GetPaths(baseDir, currentDir string) (*ProjectPaths, error) {return nil}- mu.Lock()- defer mu.Unlock()- activePaths[relPath] = true+ if !isGitRepo {+ mu.Lock()+ defer mu.Unlock()+ activePaths[relPath] = true+ }}return nildiff --git a/app/cli/lib/context_load.go b/app/cli/lib/context_load.goindex 9edbbab2..e5ccb9ef 100644--- a/app/cli/lib/context_load.go+++ b/app/cli/lib/context_load.go@@ -79,8 +79,11 @@ func MustLoadContext(resources []string, params *types.LoadContextParams) {}// fmt.Println("active paths", len(paths.ActivePaths))- // fmt.Println("ignored paths", len(paths.IgnoredPaths))// fmt.Println("all paths", len(paths.AllPaths))+ // fmt.Println("ignored paths", len(paths.IgnoredPaths))++ // spew.Dump(paths.IgnoredPaths)+ // spew.Dump(paths.ActivePaths)if !params.ForceSkipIgnore {var filteredPaths []string