%(xxx) are not properly substituted in prompt commands

Bug #694780 reported by Vincent Stehlé
6
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 2.6.37-11.25-generic-pae 2.6.37-rc7
Uname: Linux 2.6.37-11-generic-pae i686
NonfreeKernelModules: wl nvidia
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=en_US.utf8
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
SourcePackage: tig

Related branches

Revision history for this message
Vincent Stehlé (vstehle) wrote :
Revision history for this message
Vincent Stehlé (vstehle) wrote :

The attached patch fixes this.

tags: added: patch
Daniel T Chen (crimsun)
Changed in tig (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tig - 0.17-1ubuntu1

---------------
tig (0.17-1ubuntu1) oneiric; urgency=low

  * Apply patch from Vincent Stehlé resolving prompt commands not displaying
    the proper substitution. (LP: #694780)
 -- Daniel T Chen <email address hidden> Tue, 26 Jul 2011 16:28:35 -0400

Changed in tig (Ubuntu):
status: New → Fix Released
Daniel T Chen (crimsun)
tags: added: patch-forwarded-debian
removed: patch
Changed in tig (Debian):
status: Unknown → New
Changed in tig (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.