parent
f181351369
commit
26311f7032
1 changed files with 7 additions and 2 deletions
|
@ -7,6 +7,10 @@ A %C(green)%ai %an %ae
|
|||
C %C(blue)%ci %cn %ce
|
||||
%B"
|
||||
|
||||
RWX_GIT_LOG_FORMAT_DATE="%Y-%m-%d %H:%M:%S"
|
||||
|
||||
RWX_GIT_LOG_FORMAT_SHORT="%C(auto)%h %C(green)%ad %C(auto)%s %d"
|
||||
|
||||
# add to index
|
||||
#= ga
|
||||
a__git_add() {
|
||||
|
@ -294,6 +298,7 @@ a__git_log() {
|
|||
log \
|
||||
--abbrev=8 \
|
||||
--abbrev-commit \
|
||||
--date=format:"${RWX_GIT_LOG_FORMAT_DATE}" \
|
||||
--format="${RWX_GIT_LOG_FORMAT}" \
|
||||
--graph \
|
||||
"${@}"
|
||||
|
@ -311,7 +316,7 @@ a__git_log_all() {
|
|||
#= glao
|
||||
a__git_log_all_oneline() {
|
||||
a__git_log_all \
|
||||
--oneline \
|
||||
--format="${RWX_GIT_LOG_FORMAT_SHORT}" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
|
@ -328,7 +333,7 @@ a__git_log_all_patch() {
|
|||
#= glo
|
||||
a__git_log_oneline() {
|
||||
a__git_log \
|
||||
--oneline \
|
||||
--format="${RWX_GIT_LOG_FORMAT_SHORT}" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue