completion: add 'symbolic-ref'
[alt-git.git] / alias.h
blob43db736484d1059aab35758e4162e6ade6c15539
1 #ifndef ALIAS_H
2 #define ALIAS_H
4 struct strbuf;
5 struct string_list;
7 char *alias_lookup(const char *alias);
8 /* Quote argv so buf can be parsed by split_cmdline() */
9 void quote_cmdline(struct strbuf *buf, const char **argv);
10 int split_cmdline(char *cmdline, const char ***argv);
11 /* Takes a negative value returned by split_cmdline */
12 const char *split_cmdline_strerror(int cmdline_errno);
13 void list_aliases(struct string_list *list);
15 #endif