Skip to content

Conversation

paulwkc
Copy link
Contributor

@paulwkc paulwkc commented Jun 4, 2025

Toggle name between committer and author

  1. View specific option author-as-committer, similar to date-use-author
  2. Work dynamically in views: main, log, refs, blame and tree.
    tig command: :toggle author-as-committer
    toggle key seq. : o, m
    • for log view, it is using author-as-committer instead of
      column option log-view-author-as-committer because log
      view does not have author column.
  3. Give precedence to external formatter arguments if any, e.g.
    tig log --prettry=fuller

This reworked #810 and #1383 and can replace the latter one.

@paulwkc paulwkc force-pushed the committer_toggle_per_view branch from af91546 to 0b7560c Compare June 4, 2025 06:48
paulwkc referenced this pull request Jun 5, 2025
This is a complement to 7351f17.

Reported-by: PaulChanHK <PaulChanHK@users.noreply.github.com>
Update screen files wrt .test-result using make targets:
1. fix-test target to apply patches
   ```
   make fix-test
   ```
2. test/tmp/* target to apply patch for specific test
   ```
   make test/tmp/diff/diff-stat-test
   ```
@paulwkc paulwkc force-pushed the committer_toggle_per_view branch from 0b7560c to a37c280 Compare June 5, 2025 15:19
1. View specific option author-as-committer, similar to date-use-author
2. Work dynamically in views: main, log, refs, blame and tree.
   tig command     : :toggle author-as-committer
   toggle key seq. : o, m
   * for log view, it is using `author-as-committer` instead of
     column option `log-view-author-as-committer` because log
     view does not have author column.
3. Give precedence to external formatter arguments if any, e.g.
   tig log --prettry=fuller
@paulwkc paulwkc force-pushed the committer_toggle_per_view branch from a37c280 to ae8916f Compare June 5, 2025 15:37
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 this pull request may close these issues.

1 participant