* maint:
  Change C99 comments to old-style C comments
This commit is contained in:
Junio C Hamano 2010-06-07 22:15:31 -07:00
Родитель 4a2b34eb0c 2543d9b609
Коммит 92a75a391e
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -1589,7 +1589,7 @@ static void emit_porcelain(struct scoreboard *sb, struct blame_entry *ent)
strcpy(hex, sha1_to_hex(suspect->commit->object.sha1)); strcpy(hex, sha1_to_hex(suspect->commit->object.sha1));
printf("%s%c%d %d %d\n", printf("%s%c%d %d %d\n",
hex, hex,
ent->guilty ? ' ' : '*', // purely for debugging ent->guilty ? ' ' : '*', /* purely for debugging */
ent->s_lno + 1, ent->s_lno + 1,
ent->lno + 1, ent->lno + 1,
ent->num_lines); ent->num_lines);

Просмотреть файл

@ -552,10 +552,10 @@ static void grab_values(struct atom_value *val, int deref, struct object *obj, v
grab_person("committer", val, deref, obj, buf, sz); grab_person("committer", val, deref, obj, buf, sz);
break; break;
case OBJ_TREE: case OBJ_TREE:
// grab_tree_values(val, deref, obj, buf, sz); /* grab_tree_values(val, deref, obj, buf, sz); */
break; break;
case OBJ_BLOB: case OBJ_BLOB:
// grab_blob_values(val, deref, obj, buf, sz); /* grab_blob_values(val, deref, obj, buf, sz); */
break; break;
default: default:
die("Eh? Object of type %d?", obj->type); die("Eh? Object of type %d?", obj->type);

Просмотреть файл

@ -478,7 +478,7 @@ static void read_config(void)
unsigned char sha1[20]; unsigned char sha1[20];
const char *head_ref; const char *head_ref;
int flag; int flag;
if (default_remote_name) // did this already if (default_remote_name) /* did this already */
return; return;
default_remote_name = xstrdup("origin"); default_remote_name = xstrdup("origin");
current_branch = NULL; current_branch = NULL;