diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-09 16:37:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-25 21:51:30 -0700 |
commit | 9f1ad541f95cf6b9024683c8883bfb0ca86f9a3d (patch) | |
tree | 3e345086878050e1aa74b2e82362821eb096d27d /builtin-revert.c | |
parent | 95c539081e8519e00155c284ac7519727bbacc67 (diff) | |
download | git-9f1ad541f95cf6b9024683c8883bfb0ca86f9a3d.tar.gz |
imap-send.c: more style fixes
The previous one sqeezed unnecessary whitespaces and joined function type
and name in the definition split across lines. This patch further fixes
many remaining style issues:
- We are not particularly fond of typedef to hide the underlying struct
definitions.
- Asterisk comes next variable, i.e. "type *var", not "type * var" nor
"type* var".
- Casting to pointer to a type is "(type *)", not "(type*)".
- An open brace comes on the same line as closing parenthesis of "if (...)"
condition; "else" comes on the same line as closing brace of its
corresponding "if (...) {".
- Avoid single liner "if (...) <stmt>;"; they should be on two separate
lines.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-revert.c')
0 files changed, 0 insertions, 0 deletions