feat: update branch log preivew to align with git log new style

pull/17/head
Kevin Zhuang 4 years ago
parent 248802baa8
commit b78fc7e027

@ -12,6 +12,7 @@ Noteble changes are documentated in this file.
used for fzf to subsitute for the filepath.
- Added support for external diff tools like "diff-so-fancy" or "delta"
This is optional, only takes effect if installed and set as `git config core.pager`
Also configurable through DOTBARE_DIFF_PAGER
## 1.2.0 (01/07/2020)

@ -75,7 +75,7 @@ function get_branch() {
}
}' \
| xargs -I __ /usr/bin/git --git-dir=${DOTBARE_DIR} --work-tree=${DOTBARE_TREE} \
log --oneline --graph --color=always --decorate=short __"
log --color=always --color=always --format='%C(auto)%h%d %s %C(black)%C(bold)%cr' __"
}
#######################################

Loading…
Cancel
Save