summaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/cmd.c b/cmd.c
index 536515b..d114eb3 100644
--- a/cmd.c
+++ b/cmd.c
@@ -130,31 +130,31 @@ static void tree_fn(struct cgit_context *ctx)
cgit_print_tree(ctx->qry.sha1, ctx->qry.path);
}
-#define def_cmd(name, want_repo, want_layout, want_vpath) \
- {#name, name##_fn, want_repo, want_layout, want_vpath}
+#define def_cmd(name, want_repo, want_layout, want_vpath, is_clone) \
+ {#name, name##_fn, want_repo, want_layout, want_vpath, is_clone}
struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx)
{
static struct cgit_cmd cmds[] = {
- def_cmd(HEAD, 1, 0, 0),
- def_cmd(atom, 1, 0, 0),
- def_cmd(about, 0, 1, 0),
- def_cmd(blob, 1, 0, 0),
- def_cmd(commit, 1, 1, 1),
- def_cmd(diff, 1, 1, 1),
- def_cmd(info, 1, 0, 0),
- def_cmd(log, 1, 1, 1),
- def_cmd(ls_cache, 0, 0, 0),
- def_cmd(objects, 1, 0, 0),
- def_cmd(patch, 1, 0, 1),
- def_cmd(plain, 1, 0, 0),
- def_cmd(refs, 1, 1, 0),
- def_cmd(repolist, 0, 0, 0),
- def_cmd(snapshot, 1, 0, 0),
- def_cmd(stats, 1, 1, 1),
- def_cmd(summary, 1, 1, 0),
- def_cmd(tag, 1, 1, 0),
- def_cmd(tree, 1, 1, 1),
+ def_cmd(HEAD, 1, 0, 0, 1),
+ def_cmd(atom, 1, 0, 0, 0),
+ def_cmd(about, 0, 1, 0, 0),
+ def_cmd(blob, 1, 0, 0, 0),
+ def_cmd(commit, 1, 1, 1, 0),
+ def_cmd(diff, 1, 1, 1, 0),
+ def_cmd(info, 1, 0, 0, 1),
+ def_cmd(log, 1, 1, 1, 0),
+ def_cmd(ls_cache, 0, 0, 0, 0),
+ def_cmd(objects, 1, 0, 0, 1),
+ def_cmd(patch, 1, 0, 1, 0),
+ def_cmd(plain, 1, 0, 0, 0),
+ def_cmd(refs, 1, 1, 0, 0),
+ def_cmd(repolist, 0, 0, 0, 0),
+ def_cmd(snapshot, 1, 0, 0, 0),
+ def_cmd(stats, 1, 1, 1, 0),
+ def_cmd(summary, 1, 1, 0, 0),
+ def_cmd(tag, 1, 1, 0, 0),
+ def_cmd(tree, 1, 1, 1, 0),
};
int i;
hers/pass.git/commit/src/password-store.sh?h=1.7.3&id=ffef92ee0ed10551b20521f2d6e5637c8f9da798&follow=1'>generate: disallow zero length generated passwordsJason A. Donenfeld1-1/+2 2018-02-01generate: in-place should work when file is emptyJason A. Donenfeld1-1/+1 2017-12-18Quote array specifierJason A. Donenfeld1-1/+1 2017-10-13protect dirname calls from pass-names that look like command-line optionsStacey Sheldon1-6/+6 2017-09-15passmenu: Don't eat whitespace at beginning/end of passwordDaniel Lublin1-1/+1 2017-08-29emacs: Release version 1.0.1 of Emacs packageSvend Sorensen2-5/+10 2017-08-29emacs: --run-async: Quote shell argumentsDamien Cassou1-4/+5 2017-08-29emacs: Update author's email addressSvend Sorensen1-2/+2 2017-08-29emacs: Fix package-lint violationsSvend Sorensen1-2/+3 2017-07-26emacs: Release version 1.0.0 of Emacs packageSvend Sorensen2-1/+8 2017-07-26emacs: Use with-editor to wrap "pass edit"Svend Sorensen2-9/+17 2017-04-13Bump version1.7.1Jason A. Donenfeld1-1/+1 2017-04-13init: match only the public keyJason A. Donenfeld1-1/+1 2017-03-28Use $GPG variableJason A. Donenfeld1-3/+3 2017-03-20Fix compatibility with GnuPG 2.2.19Andreas Stieger2-2/+2 2017-03-01tests: fix on OSX by not using the tr hackJason A. Donenfeld3-5/+2 2017-02-26Bump version1.7Jason A. Donenfeld1-1/+1 2017-02-26Modernize makefileJason A. Donenfeld2-31/+36 2017-02-25CopyrightJason A. Donenfeld1-1/+1 2017-02-25StyleJason A. Donenfeld1-2/+2 2017-02-25git: use inner-most directoryJason A. Donenfeld2-27/+48 2017-02-25clip: sleep may require argv[0] to be sleepJason A. Donenfeld1-1/+1 2017-02-25man: document system extensionsJason A. Donenfeld1-2/+3