summaryrefslogtreecommitdiffstats
path: root/strbuf.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-11-02 16:33:08 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-23 02:05:02 +0100
commit943316e96ca2dad67086af2f945e42467a27ddd6 (patch)
tree50b5a90729d6f0c85bb6e02938d1426aafeee983 /strbuf.h
parentAdd testcase for amending and fixing author in git commit. (diff)
downloadgit-943316e96ca2dad67086af2f945e42467a27ddd6.tar.xz
git-943316e96ca2dad67086af2f945e42467a27ddd6.zip
Export launch_editor() and make it accept ':' as a no-op editor.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/strbuf.h b/strbuf.h
index 13919123dc..8334a9bad0 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -117,5 +117,6 @@ extern int strbuf_read_file(struct strbuf *sb, const char *path, size_t hint);
extern int strbuf_getline(struct strbuf *, FILE *, int);
extern void stripspace(struct strbuf *buf, int skip_comments);
+extern void launch_editor(const char *path, struct strbuf *buffer);
#endif /* STRBUF_H */