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

field 'id' in reflog-view does not show SHA hash #1025

Closed
listx opened this issue Jul 21, 2020 · 2 comments · Fixed by #1056
Closed

field 'id' in reflog-view does not show SHA hash #1025

listx opened this issue Jul 21, 2020 · 2 comments · Fixed by #1056

Comments

@listx
Copy link

listx commented Jul 21, 2020

Setting

set reflog-view = id:width=40

in .tigrc does not result in the view showing the SHA hash. Instead it still only prints the symbolic refs like HEAD@{...}. I would really like to see the SHAs directly as well, because this is how default git-reflog behaves. So ideally I should be able to do

set reflog-view = id:width=40 id:yes

to see the SHA and then also the HEAD@{...} ref.

  • Version: 2.5.1
  • Platform: Mac
@koutcher
Copy link
Collaborator

This is a quite old behaviour which even predates the reflog view. The commit id is visible in the title window. Do you have a specific use case in mind for needing the commit id in the list ?

@listx
Copy link
Author

listx commented Jul 22, 2020

The commit id is visible in the title window.

ACK, but I would prefer to show it in-line directly next to the HEAD@{...} ref.

Do you have a specific use case in mind for needing the commit id in the list ?

I have recently customized most views to show the full commit id, because this is what I end up pasting in docs and comments to peers. I would like to have the same uniformity for the reflog-view as well.

koutcher added a commit to koutcher/tig that referenced this issue Dec 11, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit to koutcher/tig that referenced this issue Dec 11, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit to koutcher/tig that referenced this issue Dec 13, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit to koutcher/tig that referenced this issue Dec 13, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit to koutcher/tig that referenced this issue Dec 14, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit to koutcher/tig that referenced this issue Dec 16, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit to koutcher/tig that referenced this issue Dec 19, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit to koutcher/tig that referenced this issue Dec 21, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit to koutcher/tig that referenced this issue Dec 22, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes jonas#1025
koutcher added a commit that referenced this issue Dec 22, 2020
That way, you can better figure out identical references when browsing
the reflog view. Show the reflog name in the title window instead. In
the stash view, the id column also shows the commit id instead of the
reference.

Closes #1025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants