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 34
34
35
35
status_opts=(--porcelain --short)
36
36
# %ct: committer date, UNIX timestamp / %at: author date, UNIX timestamp
37
- whatchanged_opts =(--format=' %ct' )
37
+ log_opts =(--format=' %ct' )
38
38
if git status --help 2>&1 | grep -q -- " --no-renames" ; then
39
39
status_opts+=(--no-renames)
40
- whatchanged_opts +=(--no-renames)
40
+ log_opts +=(--no-renames)
41
41
fi
42
42
if git status --help 2>&1 | grep -q -- " --untracked-files" ; then
43
43
status_opts+=(--untracked-files=no)
@@ -126,6 +126,6 @@ git --no-pager status "${status_opts[@]}" . \
126
126
| cut -c 4- > " ${tmpfile} "
127
127
128
128
# prefix is not stripped:
129
- git --no-pager whatchanged " ${whatchanged_opts [@]} " . \
129
+ git --no-pager log --raw --no-merges " ${log_opts [@]} " . \
130
130
| awk " ${awk_flags[@]} " " ${awk_script} " " ${tmpfile} " - \
131
131
| BASH_ENV=' ' bash " ${bash_opts[@]} " -
You can’t perform that action at this time.
0 commit comments