reflog.c: indent argument lists
When reflog.c was lib-ified in 7d3d226e700 (reflog: libify delete reflog function and helpers, 2022-03-02) these previously "static" functions were made non-"static", but the argument lists were not correspondingly indented according to our usual coding style. Let's do that. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Mar 17, 2022 at 19:08 UTC
03df6cb833a21e924b02af58df76d93a8e0d9648
1 file changed
+10
-10
reflog.c
+10
-10
@@ -240,8 +240,8 @@ static int unreachable(struct expire_reflog_policy_cb *cb, struct commit *commit
240
* Return true iff the specified reflog entry should be expired.
241
*/
242
int should_expire_reflog_ent(struct object_id *ooid, struct object_id *noid,
243
- const char *email, timestamp_t timestamp, int tz,
244
- const char *message, void *cb_data)
243
+ const char *email, timestamp_t timestamp, int tz,
244
+ const char *message, void *cb_data)
245
{
246
struct expire_reflog_policy_cb *cb = cb_data;
247
struct commit *old_commit, *new_commit;
@@ -273,10 +273,10 @@ int should_expire_reflog_ent(struct object_id *ooid, struct object_id *noid,
273
}
274
275
int should_expire_reflog_ent_verbose(struct object_id *ooid,
276
- struct object_id *noid,
277
- const char *email,
278
- timestamp_t timestamp, int tz,
279
- const char *message, void *cb_data)
276
+ struct object_id *noid,
277
+ const char *email,
278
+ timestamp_t timestamp, int tz,
279
+ const char *message, void *cb_data)
280
{
281
struct expire_reflog_policy_cb *cb = cb_data;
282
int expire;
@@ -323,8 +323,8 @@ static int is_head(const char *refname)
323
}
324
325
void reflog_expiry_prepare(const char *refname,
326
- const struct object_id *oid,
327
- void *cb_data)
326
+ const struct object_id *oid,
327
+ void *cb_data)
328
{
329
struct expire_reflog_policy_cb *cb = cb_data;
330
struct commit_list *elem;
@@ -377,8 +377,8 @@ void reflog_expiry_cleanup(void *cb_data)
377
}
378
379
int count_reflog_ent(struct object_id *ooid, struct object_id *noid,
380
- const char *email, timestamp_t timestamp, int tz,
381
- const char *message, void *cb_data)
380
+ const char *email, timestamp_t timestamp, int tz,
381
+ const char *message, void *cb_data)
382
{
383
struct cmd_reflog_expire_cb *cb = cb_data;
384
if (!cb->expire_total || timestamp < cb->expire_total)