1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-02 15:16:11 +02:00
git/builtin
Gary V. Vaughan 4b05548fc0 enums: omit trailing comma for portability
Without this patch at least IBM VisualAge C 5.0 (I have 5.0.2) on AIX
5.1 fails to compile git.

enum style is inconsistent already, with some enums declared on one
line, some over 3 lines with the enum values all on the middle line,
sometimes with 1 enum value per line... and independently of that the
trailing comma is sometimes present and other times absent, often
mixing with/without trailing comma styles in a single file, and
sometimes in consecutive enum declarations.

Clearly, omitting the comma is the more portable style, and this patch
changes all enum declarations to use the portable omitted dangling
comma style consistently.

Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-05-31 16:59:27 -07:00
..
add.c Rewrite dynamic structure initializations to runtime assignment 2010-05-31 16:59:26 -07:00
annotate.c
apply.c enums: omit trailing comma for portability 2010-05-31 16:59:27 -07:00
archive.c
bisect--helper.c
blame.c Rewrite dynamic structure initializations to runtime assignment 2010-05-31 16:59:26 -07:00
branch.c enums: omit trailing comma for portability 2010-05-31 16:59:27 -07:00
bundle.c
cat-file.c Rewrite dynamic structure initializations to runtime assignment 2010-05-31 16:59:26 -07:00
check-attr.c
check-ref-format.c
checkout-index.c
checkout.c Rewrite dynamic structure initializations to runtime assignment 2010-05-31 16:59:26 -07:00
clean.c
clone.c
commit-tree.c
commit.c enums: omit trailing comma for portability 2010-05-31 16:59:27 -07:00
config.c
count-objects.c
describe.c
diff-files.c
diff-index.c
diff-tree.c Merge branch 'pb/log-first-parent-p-m' 2010-03-24 16:25:39 -07:00
diff.c
fast-export.c Merge branch 'maint' 2010-03-28 17:42:58 -07:00
fetch-pack.c
fetch.c Rewrite dynamic structure initializations to runtime assignment 2010-05-31 16:59:26 -07:00
fmt-merge-msg.c fmt-merge-msg: hide summary option 2010-03-24 19:45:31 -07:00
for-each-ref.c
fsck.c
gc.c
grep.c Merge branch 'rs/threaded-grep-context' 2010-04-03 12:28:39 -07:00
hash-object.c
help.c enums: omit trailing comma for portability 2010-05-31 16:59:27 -07:00
index-pack.c
init-db.c
log.c pretty: Initialize notes if %N is used 2010-04-13 18:15:08 -07:00
ls-files.c ls: remove redundant logic 2010-03-21 16:23:44 -07:00
ls-remote.c
ls-tree.c ls: remove redundant logic 2010-03-21 16:23:44 -07:00
mailinfo.c enums: omit trailing comma for portability 2010-05-31 16:59:27 -07:00
mailsplit.c
merge-base.c
merge-file.c merge-file --diff3: add a label for ancestor 2010-03-20 20:36:11 -07:00
merge-index.c
merge-ours.c
merge-recursive.c
merge-tree.c
merge.c Merge branch 'cc/cherry-pick-ff' 2010-03-28 21:52:28 -07:00
mktag.c
mktree.c
mv.c
name-rev.c
notes.c Merge branch 'sb/notes-parse-opt' 2010-03-28 21:52:28 -07:00
pack-objects.c
pack-redundant.c
pack-refs.c
patch-id.c
prune-packed.c
prune.c
push.c Merge branch 'maint' 2010-04-09 22:43:18 -07:00
read-tree.c
receive-pack.c enums: omit trailing comma for portability 2010-05-31 16:59:27 -07:00
reflog.c Merge branch 'maint' 2010-04-19 22:41:30 -07:00
remote.c enums: omit trailing comma for portability 2010-05-31 16:59:27 -07:00
replace.c
rerere.c
reset.c Sync with 1.7.0.4 2010-03-31 15:14:27 -07:00
rev-list.c Merge branch 'ef/maint-empty-commit-log' 2010-04-06 14:50:46 -07:00
rev-parse.c
revert.c Merge branch 'jn/merge-diff3-label' 2010-04-03 12:28:41 -07:00
rm.c
send-pack.c
shortlog.c
show-branch.c
show-ref.c
stripspace.c
symbolic-ref.c
tag.c tag -v: use RUN_GIT_CMD to run verify-tag 2010-04-17 12:40:19 -07:00
tar-tree.c
unpack-file.c
unpack-objects.c
update-index.c
update-ref.c
update-server-info.c
upload-archive.c
var.c
verify-pack.c
verify-tag.c
write-tree.c