Skip to content

Commit 2543d9b

Browse files
Tor Arntsengitster
authored andcommitted
Change C99 comments to old-style C comments
Signed-off-by: Tor Arntsen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3334729 commit 2543d9b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

builtin/blame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,7 @@ static void emit_porcelain(struct scoreboard *sb, struct blame_entry *ent)
15891589
strcpy(hex, sha1_to_hex(suspect->commit->object.sha1));
15901590
printf("%s%c%d %d %d\n",
15911591
hex,
1592-
ent->guilty ? ' ' : '*', // purely for debugging
1592+
ent->guilty ? ' ' : '*', /* purely for debugging */
15931593
ent->s_lno + 1,
15941594
ent->lno + 1,
15951595
ent->num_lines);

builtin/for-each-ref.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,10 +549,10 @@ static void grab_values(struct atom_value *val, int deref, struct object *obj, v
549549
grab_person("committer", val, deref, obj, buf, sz);
550550
break;
551551
case OBJ_TREE:
552-
// grab_tree_values(val, deref, obj, buf, sz);
552+
/* grab_tree_values(val, deref, obj, buf, sz); */
553553
break;
554554
case OBJ_BLOB:
555-
// grab_blob_values(val, deref, obj, buf, sz);
555+
/* grab_blob_values(val, deref, obj, buf, sz); */
556556
break;
557557
default:
558558
die("Eh? Object of type %d?", obj->type);

remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ static void read_config(void)
476476
unsigned char sha1[20];
477477
const char *head_ref;
478478
int flag;
479-
if (default_remote_name) // did this already
479+
if (default_remote_name) /* did this already */
480480
return;
481481
default_remote_name = xstrdup("origin");
482482
current_branch = NULL;

0 commit comments

Comments
 (0)