diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-09-25 16:42:51 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-25 17:46:50 -0700 |
commit | 376ccb8cbb453343998e734d8a1ce79f57a4e092 (patch) | |
tree | 523b65d35ae0e4f84547e0688b2f59b584a000cc /t/t1004-read-tree-m-u-wf.sh | |
parent | rebase -i: commit when continuing after "edit" (diff) | |
download | tgif-376ccb8cbb453343998e734d8a1ce79f57a4e092.tar.xz |
rebase -i: style fixes and minor cleanups
This patch indents ";;" consistently with the rest of git's shell scripts,
and makes sure that ";;" are before each "esac".
It introduces a helper function "has_action", to make it easier to read
the intentions of the code.
Errors from "git rev-parse --verify" are no longer ignored.
Spaces are quoted using single quotes instead of a backslash, for
readability.
A "test $preserve=f" (missing spaces) was fixed; hashes are no longer
written to "$DOTEST"/rewritten/ unnecessarily.
We used to quote the message for a squash, only to have "echo" unquote it.
Now we use "printf" and do not need to quote to start with.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1004-read-tree-m-u-wf.sh')
0 files changed, 0 insertions, 0 deletions