From 4dbdc42d9e7c3968ff7f690d00680419c9b8cb0f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Apr 2024 15:34:27 +0200 Subject: Adding upstream version 1:2.43.0. Signed-off-by: Daniel Baumann --- alias.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 alias.h (limited to 'alias.h') diff --git a/alias.h b/alias.h new file mode 100644 index 0000000..43db736 --- /dev/null +++ b/alias.h @@ -0,0 +1,15 @@ +#ifndef ALIAS_H +#define ALIAS_H + +struct strbuf; +struct string_list; + +char *alias_lookup(const char *alias); +/* Quote argv so buf can be parsed by split_cmdline() */ +void quote_cmdline(struct strbuf *buf, const char **argv); +int split_cmdline(char *cmdline, const char ***argv); +/* Takes a negative value returned by split_cmdline */ +const char *split_cmdline_strerror(int cmdline_errno); +void list_aliases(struct string_list *list); + +#endif -- cgit v1.2.3