gitui icon indicating copy to clipboard operation
gitui copied to clipboard

View log at git revision

Open M1cha opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. Currently you can only view the log of HEAD, tags, branches and stashes. But I can't enter an arbitrary git hash or an alias(like FETCH_HEAD).

Describe the solution you'd like Either add a form for pasting a revision or alias, or accept a position argument to gitui similar to the way git log REV works.

M1cha avatar Mar 14 '23 12:03 M1cha

I just noticed that you currently can't view the log of a branch, tag, ... without checking it out. So something like that would probably be a requirement for this issue.

M1cha avatar Mar 14 '23 12:03 M1cha

well actually if its about the detail view of a specific commit: Screenshot 2023-03-14 at 13 50 43

that could be done 🧐 its only a problem if you want to jump to that commit in the log view if its not in the current branch lineage

extrawurst avatar Mar 14 '23 12:03 extrawurst

Yea and that's exactly what I want to do :D I guess I also misinterpreted the menu in the log view since I expected those to be for viewing and not for switching. Both are obviously useful features for gitui, the question is just if one would expect modifying options within the log view :thinking:

M1cha avatar Mar 14 '23 12:03 M1cha

Yea and that's exactly what I want to do :D

then its more like a dupe of #506

I guess I also misinterpreted the menu in the log view since I expected those to be for viewing and not for switching

can you specify?

extrawurst avatar Mar 14 '23 12:03 extrawurst

#1818 will deal with the go-to-sha-in-the-current-log part. a follow-pr could figure out that a sha is in the repo but not in the current log and just open the commit details view for that one as a popup

extrawurst avatar Aug 22 '23 13:08 extrawurst

solved via #1818

extrawurst avatar Feb 11 '24 18:02 extrawurst