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>
Tor Arntsen committed
Jun 4, 2010 at 11:32 UTC
2543d9b609d158f611e317738644e67cacac6b9a
3 files changed
+4
-4
builtin/blame.c
+1
-1
@@ -1589,7 +1589,7 @@ static void emit_porcelain(struct scoreboard *sb, struct blame_entry *ent)
1589
strcpy(hex, sha1_to_hex(suspect->commit->object.sha1));
1590
printf("%s%c%d %d %d\n",
1591
hex,
1592
- ent->guilty ? ' ' : '*', // purely for debugging
1592
+ ent->guilty ? ' ' : '*', /* purely for debugging */
1593
ent->s_lno + 1,
1594
ent->lno + 1,
1595
ent->num_lines);
builtin/for-each-ref.c
+2
-2
@@ -549,10 +549,10 @@ static void grab_values(struct atom_value *val, int deref, struct object *obj, v
549
grab_person("committer", val, deref, obj, buf, sz);
550
break;
551
case OBJ_TREE:
552
- // grab_tree_values(val, deref, obj, buf, sz);
552
+ /* grab_tree_values(val, deref, obj, buf, sz); */
553
break;
554
case OBJ_BLOB:
555
- // grab_blob_values(val, deref, obj, buf, sz);
555
+ /* grab_blob_values(val, deref, obj, buf, sz); */
556
break;
557
default:
558
die("Eh? Object of type %d?", obj->type);
remote.c
+1
-1
@@ -476,7 +476,7 @@ static void read_config(void)
476
unsigned char sha1[20];
477
const char *head_ref;
478
int flag;
479
- if (default_remote_name) // did this already
479
+ if (default_remote_name) /* did this already */
480
return;
481
default_remote_name = xstrdup("origin");
482
current_branch = NULL;