diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-06-27 18:21:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-30 22:45:50 -0700 |
commit | 0989fe9623dc8d98033f6acdcc0c84ec28571b19 (patch) | |
tree | 663e320d3a58266368eaeddaea3e1d7c29e8518f /cache.h | |
parent | 66037991d3fd2ac7e699c7bd21d939b9e397f6a4 (diff) | |
download | git-0989fe9623dc8d98033f6acdcc0c84ec28571b19.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |