aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-06-27 18:21:54 +0200
committerJunio C Hamano <gitster@pobox.com>2008-06-30 22:45:50 -0700
commit0989fe9623dc8d98033f6acdcc0c84ec28571b19 (patch)
tree663e320d3a58266368eaeddaea3e1d7c29e8518f /cache.h
parent66037991d3fd2ac7e699c7bd21d939b9e397f6a4 (diff)
downloadgit-0989fe9623dc8d98033f6acdcc0c84ec28571b19.tar.gz
git-0989fe9623dc8d98033f6acdcc0c84ec28571b19.tar.xz
Move split_cmdline() to alias.c
split_cmdline() is currently used for aliases only, but later it can be useful for other builtins as well. Move it to alias.c for now, indicating that originally it's for aliases, but we'll have it in libgit this way. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 64ef86e12..6913573d1 100644
--- a/cache.h
+++ b/cache.h
@@ -831,5 +831,6 @@ int report_path_error(const char *ps_matched, const char **pathspec, int prefix_
void overlay_tree_on_cache(const char *tree_name, const char *prefix);
char *alias_lookup(const char *alias);
+int split_cmdline(char *cmdline, const char ***argv);
#endif /* CACHE_H */