%(xxx) are not properly substituted in prompt commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tig (Debian) |
Fix Released
|
Unknown
|
|||
tig (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: tig
%(xxx) are not properly substituted in prompt commands (and looking at the code I think this is a bug).
To reproduce, run tig, select a commit and press ENTER, then start the command prompt with ':' and run a git command such as e.g. 'rev-parse %(commit)'. The resulting output shows the '%(commit)' not substituted, while it would be nice if it could be substituted with the currently selected ref.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: tig 0.16-2
ProcVersionSign
Uname: Linux 2.6.37-
NonfreeKernelMo
Architecture: i386
Date: Mon Dec 27 18:03:58 2010
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LC_MESSAGES=
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SourcePackage: tig
Related branches
tags: | added: patch |
Changed in tig (Ubuntu): | |
importance: | Undecided → Wishlist |
tags: |
added: patch-forwarded-debian removed: patch |
Changed in tig (Debian): | |
status: | Unknown → New |
Changed in tig (Debian): | |
status: | New → Fix Released |
The attached patch fixes this.