contrib / coccinelle / the_repository.pending.coccion commit Second batch (f1d4a28)
   1// This file is used for the ongoing refactoring of
   2// bringing the index or repository struct in all of
   3// our code base.
   4
   5@@
   6expression E;
   7expression F;
   8expression G;
   9@@
  10- read_object_file(
  11+ repo_read_object_file(the_repository,
  12  E, F, G)
  13
  14@@
  15expression E;
  16@@
  17- has_sha1_file(
  18+ repo_has_sha1_file(the_repository,
  19  E)
  20
  21@@
  22expression E;
  23expression F;
  24@@
  25- has_sha1_file_with_flags(
  26+ repo_has_sha1_file_with_flags(the_repository,
  27  E)
  28
  29@@
  30expression E;
  31@@
  32- has_object_file(
  33+ repo_has_object_file(the_repository,
  34  E)
  35
  36@@
  37expression E;
  38expression F;
  39@@
  40- has_object_file_with_flags(
  41+ repo_has_object_file_with_flags(the_repository,
  42  E)
  43
  44@@
  45expression E;
  46expression F;
  47expression G;
  48@@
  49- parse_commit_internal(
  50+ repo_parse_commit_internal(the_repository,
  51  E, F, G)
  52
  53@@
  54expression E;
  55expression F;
  56@@
  57- parse_commit_gently(
  58+ repo_parse_commit_gently(the_repository,
  59  E, F)
  60
  61@@
  62expression E;
  63@@
  64- parse_commit(
  65+ repo_parse_commit(the_repository,
  66  E)
  67
  68@@
  69expression E;
  70expression F;
  71@@
  72- get_merge_bases(
  73+ repo_get_merge_bases(the_repository,
  74  E, F);
  75
  76@@
  77expression E;
  78expression F;
  79expression G;
  80@@
  81- get_merge_bases_many(
  82+ repo_get_merge_bases_many(the_repository,
  83  E, F, G);
  84
  85@@
  86expression E;
  87expression F;
  88expression G;
  89@@
  90- get_merge_bases_many_dirty(
  91+ repo_get_merge_bases_many_dirty(the_repository,
  92  E, F, G);
  93
  94@@
  95expression E;
  96expression F;
  97@@
  98- in_merge_bases(
  99+ repo_in_merge_bases(the_repository,
 100  E, F);
 101
 102@@
 103expression E;
 104expression F;
 105expression G;
 106@@
 107- in_merge_bases_many(
 108+ repo_in_merge_bases_many(the_repository,
 109  E, F, G);
 110
 111@@
 112expression E;
 113expression F;
 114@@
 115- get_commit_buffer(
 116+ repo_get_commit_buffer(the_repository,
 117  E, F);
 118
 119@@
 120expression E;
 121expression F;
 122@@
 123- unuse_commit_buffer(
 124+ repo_unuse_commit_buffer(the_repository,
 125  E, F);
 126
 127@@
 128expression E;
 129expression F;
 130expression G;
 131@@
 132- logmsg_reencode(
 133+ repo_logmsg_reencode(the_repository,
 134  E, F, G);
 135
 136@@
 137expression E;
 138expression F;
 139expression G;
 140expression H;
 141@@
 142- format_commit_message(
 143+ repo_format_commit_message(the_repository,
 144  E, F, G, H);