diff options
author | Tor Arntsen <tor@spacetec.no> | 2010-06-04 11:32:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-07 15:50:21 -0700 |
commit | 2543d9b609d158f611e317738644e67cacac6b9a (patch) | |
tree | f2bce544a790c2e9efcb9bace65d8d1a6a92c7b0 | |
parent | commit.txt: clarify how --author argument is used (diff) | |
download | tgif-2543d9b609d158f611e317738644e67cacac6b9a.tar.xz |
Change C99 comments to old-style C comments
Signed-off-by: Tor Arntsen <tor@spacetec.no>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | builtin/blame.c | 2 | ||||
-rw-r--r-- | builtin/for-each-ref.c | 4 | ||||
-rw-r--r-- | remote.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/builtin/blame.c b/builtin/blame.c index fc1586350f..4dd4c3f494 100644 --- a/builtin/blame.c +++ b/builtin/blame.c @@ -1589,7 +1589,7 @@ static void emit_porcelain(struct scoreboard *sb, struct blame_entry *ent) strcpy(hex, sha1_to_hex(suspect->commit->object.sha1)); printf("%s%c%d %d %d\n", hex, - ent->guilty ? ' ' : '*', // purely for debugging + ent->guilty ? ' ' : '*', /* purely for debugging */ ent->s_lno + 1, ent->lno + 1, ent->num_lines); diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c index 62be1bbfd6..7f5011f75e 100644 --- a/builtin/for-each-ref.c +++ b/builtin/for-each-ref.c @@ -549,10 +549,10 @@ static void grab_values(struct atom_value *val, int deref, struct object *obj, v grab_person("committer", val, deref, obj, buf, sz); break; case OBJ_TREE: - // grab_tree_values(val, deref, obj, buf, sz); + /* grab_tree_values(val, deref, obj, buf, sz); */ break; case OBJ_BLOB: - // grab_blob_values(val, deref, obj, buf, sz); + /* grab_blob_values(val, deref, obj, buf, sz); */ break; default: die("Eh? Object of type %d?", obj->type); @@ -476,7 +476,7 @@ static void read_config(void) unsigned char sha1[20]; const char *head_ref; int flag; - if (default_remote_name) // did this already + if (default_remote_name) /* did this already */ return; default_remote_name = xstrdup("origin"); current_branch = NULL; |