summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-02-10 14:17:38 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-14 08:41:00 +0000
commit675aa5f57a83f1e5712139e90d57d4946d78b6db (patch)
treea8f675a724154aae5e8bfc3be299d7b9483ef859 /meta/recipes-devtools
parent9aafb028313b185250b518bfa28bbfdca3183b1a (diff)
downloadpoky-675aa5f57a83f1e5712139e90d57d4946d78b6db.tar.gz
git: add basic tab completion support
Trying to use git w/o tab completion is especially annoying if you are used to using it elsewhere -- "whatchanged" is simply too annoying to type out in full more than once. (From OE-Core rev: 3c5285237dece0af594e74926e6f4f02ca81f715) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/git/git.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index ace1790a02..ddb1ceed99 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -38,6 +38,8 @@ do_install () {
38 install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/* 38 install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/*
39 install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/* 39 install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/*
40 install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/* 40 install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/*
41 install -d ${D}/${datadir}/bash-completion/completions/
42 install -m 644 ${S}/contrib/completion/git-completion.bash ${D}/${datadir}/bash-completion/completions/git
41} 43}
42 44
43perl_native_fixup () { 45perl_native_fixup () {
@@ -94,6 +96,10 @@ PERLTOOLS = " \
94 ${datadir}/git-core/templates/hooks/pre-rebase.sample \ 96 ${datadir}/git-core/templates/hooks/pre-rebase.sample \
95" 97"
96 98
99# Basic tab completion support
100PACKAGES =+ "${PN}-bash-completion"
101FILES_${PN}-bash-completion = "${datadir}/bash-completion/completions/*"
102
97# Git tools requiring perl 103# Git tools requiring perl
98PACKAGES =+ "${PN}-perltools" 104PACKAGES =+ "${PN}-perltools"
99FILES_${PN}-perltools += " \ 105FILES_${PN}-perltools += " \