Skip to content

Commit

Permalink
git: add - added missing sparse flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Apr 1, 2024
1 parent 54d469a commit 51edad7
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 51edad7

Please sign in to comment.