Commit Graph

379 Commits (d5d9c56ac26e2b88db40ce516151c63495bc3e77)

Author SHA1 Message Date
wxiaoguang 0df81b9e0d
Add git dashes separator to some "log" and "diff" commands (#23606) 2 years ago
Kirill Bolashev 4938945668
Handle files starting with colons in WalkGitLog (#22935) 2 years ago
Philip Peterson 757b4c17e9
Support reflogs (#22451) 2 years ago
Brecht Van Lommel 8bdc0acf97
Fix pull request update showing too many commits with multiple branches (#22856) 2 years ago
wxiaoguang 542cec98f8
Refactor merge/update git command calls (#23366) 2 years ago
zeripath 8598356df1
Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
zeripath 5c4075e16d
Fix GetFilesChangedBetween if the file name may be escaped (#23272) 2 years ago
silverwind ea1d09718c
Fix commit retrieval by tag (#21804) 2 years ago
Philip Peterson cbbd3726b4
Pass `--global` when calling `git config --get`, for consistency with `git config --set` (#23157) 2 years ago
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 2 years ago
wxiaoguang dc9cebdf45
Use `--message=%s` for git commit message (#23028) 2 years ago
Nick 618c9118c1
Remember to attach the parent tree when converting TreeEntry() -> Tree() (#22902) 2 years ago
Nick e1aca7cbdd
Deduplicate findReadmeFile() (#22177) 2 years ago
Gusted 1cb8d14bf7
Use proxy for pull mirror (#22771) 2 years ago
Brecht Van Lommel 87261f3fb9
Fix blame view missing lines (#22826) 2 years ago
wxiaoguang 50111c71c3
Refactor legacy strange git operations (#22756) 2 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
Lunny Xiao efa708501b
Use git command instead of exec.Cmd in blame (#22098) 2 years ago
Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 2 years ago
Gusted b48cf03717
Remove deadcode (#22245) 2 years ago
6543 46485848fa
On tag/branch-exist check, dont panic if repo is nil (#21787) 2 years ago
Jason Song f9cbf5a1bc
Util type to parse ref name (#21969) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
zeripath 4d42cbbcc2
Handle empty author names (#21902) 2 years ago
zeripath e77b76425e
Prepend refs/heads/ to issue template refs (#20461) 2 years ago
zeripath c772934ff6
Adjust gitea doctor --run storages to check all storage types (#21785) 2 years ago
zeripath d9ba7f7442
Prevent panic in doctor command when running default checks (#21791) 2 years ago
KN4CK3R 49436c2c62
Keep languages defined in .gitattributes (#21403) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
6543 18622a0705
probe if sha before exec git (#21467) 2 years ago
wxiaoguang 677af6ac57
Follow improve code quality (#21465) 2 years ago
wxiaoguang d98c5db58f
alternative to PR "improve code quality" (#21464) 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 2 years ago
zeripath 3ccebf7f40
Stop logging CheckPath returns error: context canceled (#21064) 2 years ago
wxiaoguang c08e42c47e
Refactor parseTreeEntries, speed up tree list (#21368) 2 years ago
wxiaoguang 321964155a
Treat git object mode 40755 as directory (#21195) 2 years ago
wxiaoguang 0ba2f53ca1
Passing command line arguments correctly by string slice (#21168) 2 years ago
sergemedvid e07d089be0
Sort branches and tags by date descending (#21136) 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
zeripath c722a26e7e
Set uploadpack.allowFilter etc on gitea serv to enable partial clones with ssh (#20902) 2 years ago
zeripath e6b3be4608
Add more checks in migration code (#21011) 2 years ago
John Olheiser a48d6ba4b4
Go 1.19 format (#20758) 2 years ago
zeripath aa2e473991
Set no-tags in git fetch on compare (#20893) 2 years ago
zeripath 58a4407acb
Remove follow from commits by file (#20765) 2 years ago
wxiaoguang 75d96f4a02
Refactor legacy git init (#20376) 2 years ago
parnic 27789908d8
Use request timeout for git service rpc (#20689) 2 years ago
Gusted 692707f145
Add latest commit's SHA to content response (#20398) 2 years ago
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444) 2 years ago