mirror of https://git.zx2c4.com/cgit/
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>lh/pretty-blob-view
parent
e6b635c2b1
commit
01d2dce7e7
@ -1,6 +1,6 @@
|
|||||||
#ifndef UI_BLOB_H
|
#ifndef UI_BLOB_H
|
||||||
#define 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 */
|
#endif /* UI_BLOB_H */
|
||||||
|
Loading…
Reference in New Issue