Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.1 %(branch) is blank when branch is checked out #416

Closed
colinkahn opened this issue Jun 9, 2015 · 1 comment
Closed

2.1.1 %(branch) is blank when branch is checked out #416

colinkahn opened this issue Jun 9, 2015 · 1 comment
Labels
Milestone

Comments

@colinkahn
Copy link

As the title says, when I run a command using %(branch) on a branch in branch view when it's checked out it's replaced with nothing.

Example:

bind branch > !?git push origin %(branch)

If I run the command using > on a checked out branch I just get: git push origin, if I do it on a branch that isn't checked out it replaces %(branch) with the correct value.

@jonas jonas added the type:bug label Jun 11, 2015
@jonas jonas added this to the tig-2.2 milestone Jun 11, 2015
@jonas
Copy link
Owner

jonas commented Jun 11, 2015

Thanks for reporting this. Easily reproduced.

@jonas jonas closed this as completed in fe45860 Jun 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants