1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/modules/repofiles
zeripath 3c4724d70e
Add .gitattribute assisted language detection to blame, diff and render (#17590)
Use check attribute code to check the assigned language of a file and send that in to
chroma as a hint for the language of the file.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-11-17 20:37:00 +00:00
..
action.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
action_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
blob.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
blob_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
commit.go Number of commits ahead/behind in branch overview (#6695) 2019-05-05 19:25:25 +03:00
commit_status.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
content.go Fix GetContents(): Dont't ignore Executables (#11192) 2020-04-24 19:20:22 +03:00
content_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
delete.go Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
diff.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
diff_test.go Add .gitattribute assisted language detection to blame, diff and render (#17590) 2021-11-17 20:37:00 +00:00
file.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
file_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
repofiles.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
repofiles_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
temp_repo.go remove duplicate define of CheckAttribute() (#14837) 2021-03-01 14:14:17 +02:00
tree.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
tree_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
update.go Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
upload.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
verification.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00