Skip to content

Commit 03df6cb

Browse files
avargitster
authored andcommitted
reflog.c: indent argument lists
When reflog.c was lib-ified in 7d3d226 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 74cc1aa commit 03df6cb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

reflog.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ static int unreachable(struct expire_reflog_policy_cb *cb, struct commit *commit
240240
* Return true iff the specified reflog entry should be expired.
241241
*/
242242
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)
245245
{
246246
struct expire_reflog_policy_cb *cb = cb_data;
247247
struct commit *old_commit, *new_commit;
@@ -273,10 +273,10 @@ int should_expire_reflog_ent(struct object_id *ooid, struct object_id *noid,
273273
}
274274

275275
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)
280280
{
281281
struct expire_reflog_policy_cb *cb = cb_data;
282282
int expire;
@@ -323,8 +323,8 @@ static int is_head(const char *refname)
323323
}
324324

325325
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)
328328
{
329329
struct expire_reflog_policy_cb *cb = cb_data;
330330
struct commit_list *elem;
@@ -377,8 +377,8 @@ void reflog_expiry_cleanup(void *cb_data)
377377
}
378378

379379
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)
382382
{
383383
struct cmd_reflog_expire_cb *cb = cb_data;
384384
if (!cb->expire_total || timestamp < cb->expire_total)

0 commit comments

Comments
 (0)