commit - d469c4c2197aa2d8914b98e96dbeb8b5e00f87e1
commit + fdbddcd4b0e0c3e6e2bb1549f1b0aa5792bd34d9
blob - b1c3c8ec3866e7ac66371da08256f2fa1212a13c
blob + 53f7de0a130faea19e3cd437e589876e1f69f591
--- regress/cmdline/log.sh
+++ regress/cmdline/log.sh
set -- "$@" "$(git_show_head $testroot/repo)"
done
- for i in $(seq 16 2); do
+ for i in $(seq 16 -1 2); do
printf '%s %.7s commit number %s\n' \
"$d" $(pop_idx $i $@) "$(( i-1 ))" \
>> $testroot/stdout.expected
echo -n > "$testroot/stdout.expected"
- for i in $(seq 9 2); do
+ for i in $(seq 9 -1 2); do
printf '%s %.7s commit number %s\n' \
"$d" $(pop_idx $i $@) "$(( i-1 ))" \
>> $testroot/stdout.expected
# from head to the base commit using -x
printf '%s %-7s commit number 16\n' "$d" "master" > \
$testroot/stdout.expected
- for i in $(seq 16 9); do
+ for i in $(seq 16 -1 9); do
printf '%s %.7s commit number %s\n' \
"$d" $(pop_idx $i $@) $(( i-1 )) \
>> $testroot/stdout.expected