Bug 1000823

Summary: Update tig package to include the bash completion file
Product: [Fedora] Fedora Reporter: Jonas Fonseca <jonas.fonseca>
Component: tigAssignee: jbowes
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, jbowes, j, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tig-1.2.1-1.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-13 01:07:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonas Fonseca 2013-08-25 17:44:24 UTC
Description of problem:

Tig has a bash completion file (contrib/tig-completion.bash), but the file is not distributed and install by the tig package.

Steps to Reproduce:
-------------------

1. Install tig.
2. Clone a git repository.
3. Open a terminal with Bash as the shell.
4. Type: "tig " and press the Tab key.

Actual results:
Nothing is completed.

Expected results:
Completion of Tig subcommands and the Git branches and tags in the repository.

Additional info:
----------------

Looking at the .spec file of git it should be a matter of adding

# Remove shebang from bash-completion script
sed -i '/^#!bash/,+1 d' contrib/completion/tig-completion.bash

# Setup bash completion
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
install -pm 644 contrib/completion/tig-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/git

Comment 1 Fedora Update System 2013-08-26 18:56:40 UTC
tig-1.2.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/tig-1.2.1-1.fc18

Comment 2 Fedora Update System 2013-08-26 18:56:58 UTC
tig-1.2.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/tig-1.2.1-1.fc19

Comment 3 Fedora Update System 2013-08-27 23:23:06 UTC
Package tig-1.2.1-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tig-1.2.1-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15350/tig-1.2.1-1.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-09-13 01:07:14 UTC
tig-1.2.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-09-13 01:08:50 UTC
tig-1.2.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.