git-trace

romele / git-trace public

62 commits · 1 branch · 1 tag · 1 contributor (top: Romele) · first commit 3d ago · last push 10m ago

src/patchset.h

#ifndef GT_PATCHSET_H
#define GT_PATCHSET_H

#include "web.h"

/* tail is the path remainder after "/patches" */
void collab_patches(struct app_ctx *app, struct request *r,
                    const char *repo_dir, const char *o, const char *n,
                    int rk, const char *tail);

/* `git-trace mailrecv <owner> <repo>` — MTA pipe-alias endpoint:
 * reads one RFC822 message on stdin and feeds the patch-set flow */
int  gt_mailrecv(struct app_ctx *app, const char *owner,
                 const char *name);

#endif