aboutsummaryrefslogtreecommitdiffstats
path: root/ui-blob.h
diff options
context:
space:
mode:
authorGravatar Michael Krelin <hacker@klever.net>2008-06-25 06:33:24 (JST)
committerGravatar Michael Krelin <hacker@klever.net>2008-06-25 06:33:24 (JST)
commit01d2dce7e73e3f022d186de27dd5d15574144ca8 (patch)
treeeeb2cc9089b048ddb6ee7c2f2c1ca5738b6e6a51 /ui-blob.h
parente6b635c2b1a0b2c08170c70e8b9e59f4b9789431 (diff)
downloadcgit-01d2dce7e73e3f022d186de27dd5d15574144ca8.zip
cgit-01d2dce7e73e3f022d186de27dd5d15574144ca8.tar.gz
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 <hacker@klever.net>
Diffstat (limited to 'ui-blob.h')
-rw-r--r--ui-blob.h2
1 files changed, 1 insertions, 1 deletions
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 @@
1#ifndef UI_BLOB_H 1#ifndef UI_BLOB_H
2#define UI_BLOB_H 2#define UI_BLOB_H
3 3
4extern void cgit_print_blob(const char *hex, char *path); 4extern void cgit_print_blob(const char *hex, char *path, const char *head);
5 5
6#endif /* UI_BLOB_H */ 6#endif /* UI_BLOB_H */