Skip to content

Commit

Permalink
Merge pull request #2322 from carapace-sh/git-add-sparse
Browse files Browse the repository at this point in the history
git: add - added missing sparse flag
  • Loading branch information
rsteube authored Apr 1, 2024
2 parents 54d469a + 51edad7 commit 982256a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions completers/git_completer/cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func init() {
addCmd.Flags().String("pathspec-from-file", "", "Pathspec is passed in <file> instead of commandline args.")
addCmd.Flags().Bool("refresh", false, "Don't add the file(s), but only refresh their stat() information in the index.")
addCmd.Flags().Bool("renormalize", false, "Apply the \"clean\" process freshly to all tracked files to forcibly add them again to the index.")
addCmd.Flags().Bool("sparse", false, "Allow updating index entries outside of the sparse-checkout cone")
addCmd.Flags().BoolP("update", "u", false, "Update the index just where it already has an entry matching <pathspec>.")
addCmd.Flags().BoolP("verbose", "v", false, "Be verbose.")
rootCmd.AddCommand(addCmd)
Expand Down

0 comments on commit 982256a

Please sign in to comment.