From 02d522a12eee595d95f4119f3dba465508248694 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Jul 2015 12:26:06 -0400 Subject: [PATCH] Debian package (and any other packages built using make install) now includes bash completion. --- Makefile | 2 ++ debian/changelog | 6 ++++++ git-annex.cabal | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1ce0a5f9b8..2f7d3b2443 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,8 @@ install: build install-docs Build/InstallDesktopFile install git-annex $(DESTDIR)$(PREFIX)/bin ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-annex-shell ./Build/InstallDesktopFile $(PREFIX)/bin/git-annex || true + install -d $(DESTDIR)$(PREFIX)/share/bash-completion/completions + ./git-annex --bash-completion-script git-annex > $(DESTDIR)$(PREFIX)/share/bash-completion/completions/git-annex test: git-annex ./git-annex test diff --git a/debian/changelog b/debian/changelog index 71b08394ae..787be67169 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,5 @@ +git-annex (5.20150713) unstable; urgency=medium + * Switched option parsing to use optparse-applicative. This was a very large and invasive change, and may have caused some minor behavior changes to edge cases of option parsing. (For example, the metadata command no @@ -5,10 +7,14 @@ worked.) * Bash completion code is built-in to git-annex, and can be enabled by running: source <(git-annex --bash-completion-script git-annex) + * Debian package (and any other packages built using make install) + now includes bash completion. * version --raw now works when run outside a git repository. * assistant --startdelay now works when run outside a git repository. * dead now accepts multiple --key options. + -- Joey Hess Fri, 10 Jul 2015 16:36:42 -0400 + git-annex (5.20150710) unstable; urgency=medium * add: Stage symlinks the same as git add would, even if they are not a diff --git a/git-annex.cabal b/git-annex.cabal index 905b945ae5..edcaa71212 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -1,5 +1,5 @@ Name: git-annex -Version: 5.20150710 +Version: 5.20150713 Cabal-Version: >= 1.8 License: GPL-3 Maintainer: Joey Hess