diff options
author | Stanislav Seletskiy <s.seletskiy@gmail.com> | 2019-06-11 02:33:09 +0300 |
---|---|---|
committer | Stanislav Seletskiy <s.seletskiy@gmail.com> | 2019-07-25 16:38:47 +0300 |
commit | 5d9007f27b50c17cefecd13ad160840aa4f86ed1 (patch) | |
tree | 0c5eb99b444e361a2380b2083f066860cf55212c /options.go | |
parent | 60033b8925a18fff9f68bea3d980076f73eb3cb5 (diff) | |
download | go-git-5d9007f27b50c17cefecd13ad160840aa4f86ed1.tar.gz |
add Prune option to PushOptions
Signed-off-by: Stanislav Seletskiy <s.seletskiy@gmail.com>
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -186,6 +186,9 @@ type PushOptions struct { // Progress is where the human readable information sent by the server is // stored, if nil nothing is stored. Progress sideband.Progress + // Prune specify that remote refs that match given RefSpecs and that do + // not exist locally will be removed. + Prune bool } // Validate validates the fields and sets the default values. |