Skip to content

Commit

Permalink
tigrc: hide prefetch references by default
Browse files Browse the repository at this point in the history
These are created by `git maintentance` and are special-cased in git
tools to not be shown, since they are mostly noise.
  • Loading branch information
arbrauns committed Mar 4, 2024
1 parent 3f92521 commit cd54f43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions NEWS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Improvements:
- Use HTTPS for GitHub clone URLs. (#1310)
- Move default log view options to tigrc.
- Allow to go to stage view without Enter. (#1284)
- Add new "prefetch" reference type for refs created by `git maintentance`.
(#1318)
- Add new "prefetch" reference type for refs created by `git maintentance`
(hidden in default config). (#1318)

Bug fixes:

Expand Down
2 changes: 1 addition & 1 deletion tigrc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ set truncation-delimiter = ~ # Character drawn for truncations, or "utf-8"
# - If no format is specified for `tracked-remote`, the format for `remote` is used.
# - If no format is specified for any other reference type, the format for `branch` is used.
# Prefix with `hide:` to not show that reference type, e.g. `hide:remote`.
set reference-format = [branch] <tag> {remote} ~replace~
set reference-format = [branch] <tag> {remote} ~replace~ hide:prefetch

# Settings controlling how content is read from Git
set commit-order = auto # Enum: auto, default, topo, date, reverse (main)
Expand Down

0 comments on commit cd54f43

Please sign in to comment.