mirror of
https://git.zx2c4.com/cgit
synced 2024-11-29 11:56:21 +00:00
01d2dce7e7
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>
7 lines
137 B
C
7 lines
137 B
C
#ifndef UI_BLOB_H
|
|
#define UI_BLOB_H
|
|
|
|
extern void cgit_print_blob(const char *hex, char *path, const char *head);
|
|
|
|
#endif /* UI_BLOB_H */
|