diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-10-01 11:42:19 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-10-01 11:42:19 +0200 |
commit | f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae (patch) | |
tree | 086e1afad5762c5b6bb09672b58f2c491ffbbc20 /cgit.h | |
parent | 98fcf7227c8dda520c864ea8a51012934115258f (diff) | |
download | cgit-f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae.tar.gz cgit-f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae.tar.bz2 cgit-f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae.zip |
Add prefix parameter to cgit_diff_tree()
This paramter can be used to restrict a diff to the specified path prefix.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -170,7 +170,7 @@ extern int cgit_diff_files(const unsigned char *old_sha1, extern void cgit_diff_tree(const unsigned char *old_sha1, const unsigned char *new_sha1, - filepair_fn fn); + filepair_fn fn, const char *prefix); extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |