diff options
| Commit | f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae (patch) | |
|---|---|---|
| Author | 2007-10-01 11:42:19 +0200 | |
| Committer | 2007-10-01 11:42:19 +0200 | |
| Files | 086e1afad5762c5b6bb09672b58f2c491ffbbc20 /cgit.h | |
| cgit-f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae.tar cgit-f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae.tar.gz cgit-f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae.zip | ||
| Parent | 98fcf7227c8dda520c864ea8a51012934115258f (diff) | |
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>
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | cgit.h | 2 |
@@ -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); |
