about summary refs log tree commit diff
path: root/third_party/git/alias.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/alias.h')
-rw-r--r--third_party/git/alias.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/git/alias.h b/third_party/git/alias.h
new file mode 100644
index 000000000000..aef4843bb782
--- /dev/null
+++ b/third_party/git/alias.h
@@ -0,0 +1,12 @@
+#ifndef ALIAS_H
+#define ALIAS_H
+
+struct string_list;
+
+char *alias_lookup(const char *alias);
+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