diff options
author | Paulo Gomes <pjbgf@linux.com> | 2024-06-28 21:20:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-28 21:20:36 +0000 |
commit | cc6b98e366436b69a0e91aa0698972d583080900 (patch) | |
tree | f0af1e3bff6a7a69f009faac0bef2915ebcaa385 /options.go | |
parent | c817be6af4dde11b0c0c978dc2ecb77a2065c8b1 (diff) | |
parent | 86d3f41c8eb5939f384d30667f6097d716c1e916 (diff) | |
download | go-git-cc6b98e366436b69a0e91aa0698972d583080900.tar.gz |
Merge pull request #995 from msuozzo/git-clean
Add option approximating `git clean -x` flag.
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -721,7 +721,10 @@ const ( // CleanOptions describes how a clean should be performed. type CleanOptions struct { + // Dir recurses into nested directories. Dir bool + // All removes all changes, even those excluded by gitignore. + All bool } // GrepOptions describes how a grep should be performed. |