aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Homebrew/git-branch-list.rb23
-rw-r--r--README.md6
2 files changed, 3 insertions, 26 deletions
diff --git a/Homebrew/git-branch-list.rb b/Homebrew/git-branch-list.rb
deleted file mode 100644
index 23866c9..0000000
--- a/Homebrew/git-branch-list.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-class GitBranchList < Formula
- desc "Maintains a list of Git branches that can be checked out quickly"
- homepage "https://github.com/teddywing/git-branch-list"
- url "https://github.com/teddywing/git-branch-list/archive/v0.1.2.tar.gz"
- sha256 "423172ecbb79093060eeca85c31fc8e837ec5733f7244cbc22f36b879062a330"
-
- def install
- bin.install "git-branch-list"
- bash_completion.install "git-branch-list.bash-completion" => "git-branch-list"
- end
-
- def caveats; <<~EOS
- To enable tab completion, add the following to your bash profile:
-
- source #{etc}/bash_completion.d/git-branch-list
- EOS
- end
-
- test do
- assert_equal "nl: .git/info/git-branch-list: No such file or directory",
- shell_output("git branch-list 2>&1", 1).strip
- end
-end
diff --git a/README.md b/README.md
index 973f67e..a472433 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ names.
## Install
Mac OS X users can install with Homebrew:
- $ brew install https://raw.githubusercontent.com/teddywing/git-branch-list/master/Homebrew/git-branch-list.rb
+ $ brew install teddywing/formulae/git-branch-list
On other platforms, grab the code and put the `git-branch-list` script in your
`PATH`. Bash completion can be added by sourcing the
@@ -48,5 +48,5 @@ On other platforms, grab the code and put the `git-branch-list` script in your
## License
-Copyright © 2018 Teddy Wing. Licensed under the GNU GPLv3+ (see the included
-COPYING file).
+Copyright © 2018–2019 Teddy Wing. Licensed under the GNU GPLv3+ (see the
+included COPYING file).