Show log-view for currently selected file in tree view
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.3k
- Forks
- 669
- PR merge metrics
- No merged PRs in 30d
Description
Currently, I have the following bind:
bind generic H !tig log %(file)
This works, although, is a little hacky, since it opens a second tig on top of the currently running instance. It would be great if :view-log could take an argument, just like tig does.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the :view-log command and the generic binding using %(file), as described in the issue. Determine how the currently selected tree file is exposed to commands and how log views are opened. Done means :view-log can use the selected file within the existing tig instance, without launching a second tig process.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, git
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100