From ad5f2118b1cffd6946c6227672365ffe91c2bd95 Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Mon, 3 Apr 2023 20:24:34 +0200 Subject: [PATCH] Release 0.5.0 --- CHANGELOG.md | 5 ++++- Cargo.lock | 2 +- Cargo.toml | 2 +- README | 49 +++++++++++++++++++++++++------------------------ git-gone.1 | 4 ++-- git-gone.1.adoc | 4 ++-- 6 files changed, 35 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34aeb52..2efee11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html ## [Unreleased] +## [0.5.0] – 2023-04-03 + ### Changed - Update git2 to support latest libgit2. @@ -115,7 +117,8 @@ Initial release. * Add `prune` subcommand to prune gone branches. * Add `--fetch` flag to fetch all remotes before looking for gone branches. -[Unreleased]: https://github.com/swsnr/git-gone/compare/v0.4.3...HEAD +[Unreleased]: https://github.com/swsnr/git-gone/compare/v0.5.0...HEAD +[0.5.0]: https://github.com/swsnr/git-gone/compare/v0.4.3...v0.5.0 [0.4.3]: https://github.com/swsnr/git-gone/compare/v0.4.2...v0.4.3 [0.4.2]: https://github.com/swsnr/git-gone/compare/v0.4.1...v0.4.2 [0.4.1]: https://github.com/swsnr/git-gone/compare/v0.4.0...v0.4.1 diff --git a/Cargo.lock b/Cargo.lock index 375775a..02a2abf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,7 +73,7 @@ dependencies = [ [[package]] name = "git-gone" -version = "0.4.3" +version = "0.5.0" dependencies = [ "clap", "git2", diff --git a/Cargo.toml b/Cargo.toml index a99ec7d..e9682bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "git-gone" -version = "0.4.3" +version = "0.5.0" description = "Manage \"gone\" Git branches" homepage = "https://github.com/swsnr/git-gone" repository = "https://github.com/swsnr/git-gone" diff --git a/README b/README index 1ae681a..ee1d060 100644 --- a/README +++ b/README @@ -1,22 +1,22 @@ GIT-GONE(1) git-gone GIT-GONE(1) -NAME +NNAAMMEE git-gone - prune "gone" Git branches -SYNOPSIS - git gone [-fv] list - git gone [-fv] prune +SSYYNNOOPPSSIISS + ggiitt ggoonnee [_-_f_v] list + ggiitt ggoonnee [_-_f_v] prune -DESCRIPTION +DDEESSCCRRIIPPTTIIOONN Lists or removes "gone" branches, that is, local branches which used to have an upstream branch on a remote which is now removed. This situation typically occurs in a pull request workflow where the upstream branch gets deleted on the server after merging a pull request, leaving the local branch from which the pull request - originated in place. git gone easily removes these left-over branches. + originated in place. ggiitt ggoonnee easily removes these left-over branches. -COMMANDS +CCOOMMMMAANNDDSS list List all gone branches. @@ -26,9 +26,9 @@ COMMANDS Prints a list of deleted branches including a command to restore the branch as long as the referenced commit is still in the reflog. -OPTIONS +OOPPTTIIOONNSS -f, --fetch - Run git fetch --prune --all first. + Run ggiitt ffeettcchh ----pprruunnee ----aallll first. -v, --verbose Print detailed progress when fetching. @@ -36,37 +36,38 @@ OPTIONS -V, --version Print the version number and exit. -EXIT STATUS +EEXXIITT SSTTAATTUUSS 0 on success, non-zero otherwise. -BUGS - Please report bugs to https://github.com/swsnr/git-gone/issues/new. +BBUUGGSS + Please report bugs to . -SEE ALSO - git(1) +SSEEEE AALLSSOO + ggiitt((11)) All credits for the idea go to Eugene Yokota (see - http://eed3si9n.com/): + ): • git gone: cleaning stale local branches at - http://eed3si9n.com/git-gone-cleaning-stale-local-branches + - • git-gone in Bash at https://github.com/eed3si9n/git-gone + • git-gone in Bash at -COPYRIGHT - Copyright 2018-2020 Sebastian Wiesner sebastian@swsnr.de +CCOOPPYYRRIIGGHHTT + Copyright 2018-2020 Sebastian Wiesner Licensed under the Apache License, Version 2.0 (the "License"); you may - not use this file except in compliance with the License. You may obtain - a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. + not use this file except in compliance with the License. You may + obtain a copy of the License at + . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. See the License for the specific language governing + implied. See the License for the specific language governing permissions and limitations under the License. -AUTHOR +AAUUTTHHOORR Sebastian Wiesner -git-gone 0.4.3 GIT-GONE(1) +git-gone 0.5.0 GIT-GONE(1) diff --git a/git-gone.1 b/git-gone.1 index 5944ec3..455600b 100644 --- a/git-gone.1 +++ b/git-gone.1 @@ -3,10 +3,10 @@ .\" Author: Sebastian Wiesner .\" Generator: Asciidoctor 2.0.18 .\" Manual: git-gone -.\" Source: git-gone 0.4.3 +.\" Source: git-gone 0.5.0 .\" Language: English .\" -.TH "GIT\-GONE" "1" "" "git\-gone 0.4.3" "git\-gone" +.TH "GIT\-GONE" "1" "" "git\-gone 0.5.0" "git\-gone" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 diff --git a/git-gone.1.adoc b/git-gone.1.adoc index ec3a86e..5a1f3bd 100644 --- a/git-gone.1.adoc +++ b/git-gone.1.adoc @@ -1,8 +1,8 @@ = git-gone(1) Sebastian Wiesner :doctype: manpage -:revnumber: 0.4.3 -:revdate: 2022-12-01 +:revnumber: 0.5.0 +:revdate: 2023-04-03 :mansource: git-gone {revnumber} :manmanual: git-gone