aboutsummaryrefslogtreecommitdiffstats
path: root/range-diff.h
diff options
context:
space:
mode:
Diffstat (limited to 'range-diff.h')
-rw-r--r--range-diff.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/range-diff.h b/range-diff.h
index 583ced2e8e..4abd70c40f 100644
--- a/range-diff.h
+++ b/range-diff.h
@@ -16,4 +16,10 @@ int show_range_diff(const char *range1, const char *range2,
const struct diff_options *diffopt,
const struct strvec *other_arg);
+/*
+ * Determine whether the given argument is usable as a range argument of `git
+ * range-diff`, e.g. A..B.
+ */
+int is_range_diff_range(const char *arg);
+
#endif