From 01d2dce7e73e3f022d186de27dd5d15574144ca8 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 24 Jun 2008 23:33:24 +0200 Subject: allow blob extract blobs by head/path combination If blob is invoked with no id=, it tries to look up h= and search for path= in there. Once found, proceed as normal, otherwise, fail as normal. Signed-off-by: Michael Krelin --- ui-blob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-blob.h') diff --git a/ui-blob.h b/ui-blob.h index 5a920a8..dad275a 100644 --- a/ui-blob.h +++ b/ui-blob.h @@ -1,6 +1,6 @@ #ifndef UI_BLOB_H #define UI_BLOB_H -extern void cgit_print_blob(const char *hex, char *path); +extern void cgit_print_blob(const char *hex, char *path, const char *head); #endif /* UI_BLOB_H */ -- cgit v1.2.1