Skip to content

Commit

Permalink
jj: git-init - use ActionDirectories (#2318)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube authored Mar 30, 2024
1 parent c9dcdeb commit 228a92e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion completers/jj_completer/cmd/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

var diffCmd = &cobra.Command{
Use: "diff [OPTIONS] [PATHS]...",
Short: "",
Short: "Compare file contents between two revisions",
Run: func(cmd *cobra.Command, args []string) {},
}

Expand Down
2 changes: 1 addition & 1 deletion completers/jj_completer/cmd/git_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func init() {
gitCmd.AddCommand(git_initCmd)

carapace.Gen(git_initCmd).FlagCompletion(carapace.ActionMap{
"git-repo": carapace.ActionFiles(),
"git-repo": carapace.ActionDirectories(),
})

carapace.Gen(git_initCmd).PositionalCompletion(
Expand Down

0 comments on commit 228a92e

Please sign in to comment.