summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--doc/git-annex.mdwn12
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index a357e3fe6..e0a4de90f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ * 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.
+ * Bash completion code is built-in to git-annex, and can be enabled by
+ running: source <(git-annex --bash-completion-script git-annex)
+ * version --raw now works when run outside a git repository.
+
git-annex (5.20150618) UNRELEASED; urgency=medium
* log: Fix reversion introduced in version 5.20150528 that broke this command.
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 73894c0d8..e3790bdf9 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -763,6 +763,18 @@ may not be explicitly listed on their individual man pages.
Overrides git configuration settings. May be specified multiple times.
+# COMMAND-LINE TAB COMPLETION
+
+To enable bash completion, paste this into your shell prompt:
+
+ source <(git-annex --bash-completion-script git-annex)
+
+The output of "git-annex --bash-completion-script git-annex" can also
+be written to a bash completion file so bach loads it automatically.
+
+This bash completion is generated by the option parser, so it covers all
+commands, all options, and will never go out of date!
+
# CONFIGURATION VIA .git/config
Like other git commands, git-annex is configured via `.git/config`.