File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3434
3535status_opts=(--porcelain --short)
3636# %ct: committer date, UNIX timestamp / %at: author date, UNIX timestamp
37- whatchanged_opts =(--format=' %ct' )
37+ log_opts =(--format=' %ct' )
3838if git status --help 2>&1 | grep -q -- " --no-renames" ; then
3939 status_opts+=(--no-renames)
40- whatchanged_opts +=(--no-renames)
40+ log_opts +=(--no-renames)
4141fi
4242if git status --help 2>&1 | grep -q -- " --untracked-files" ; then
4343 status_opts+=(--untracked-files=no)
@@ -126,6 +126,6 @@ git --no-pager status "${status_opts[@]}" . \
126126 | cut -c 4- > " ${tmpfile} "
127127
128128# prefix is not stripped:
129- git --no-pager whatchanged " ${whatchanged_opts [@]} " . \
129+ git --no-pager log --raw --no-merges " ${log_opts [@]} " . \
130130 | awk " ${awk_flags[@]} " " ${awk_script} " " ${tmpfile} " - \
131131 | BASH_ENV=' ' bash " ${bash_opts[@]} " -
You can’t perform that action at this time.
0 commit comments