"Log Selected..." should specify the selected revision on the command-line as well

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 3.4.9, 3.4.10
    • Component/s: Git
    • None
    • Severity 3 - Minor

      Looking at the "Process Viewer/Log", the "Log Selected..." (Ctrl+Shift+L) action appears to issue a git command like:

      git log --format=... --decorate=full --date=iso -- <selected-path>
      

      If the <selected-path> has been removed in a later revision on the current branch (not present in the HEAD revision) or is added just in a revision on a different branch, the Log shown turns out empty. The "Log Selected..." action should also specify the selected commit/revision on the git command line like:

      git log --format=... --decorate=full --date=iso <selected-commit> -- <selected-path>
      

      This will always show the history of the selected file leading (up) to the commit the file has been selected in, regardless of the current branch/HEAD.

            Assignee:
            Unassigned
            Reporter:
            stanio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: