You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535)
Follow #21464

Make all git command arguments strictly safe. Most changes are one-to-one replacing, keep all existing logic.
2 years ago
..
cherry_pick.go Allow API to create file on empty repo (#19224) 2 years ago
commit.go Move some code into models/git (#19879) 2 years ago
content.go Add latest commit's SHA to content response (#20398) 2 years ago
content_test.go Add latest commit's SHA to content response (#20398) 2 years ago
delete.go Allow API to create file on empty repo (#19224) 2 years ago
diff.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
diff_test.go Calculate filename hash only once (#19654) 2 years ago
file.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
file_test.go Add latest commit's SHA to content response (#20398) 2 years ago
patch.go Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
temp_repo.go Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
tree.go Refactor parseTreeEntries, speed up tree list (#21368) 2 years ago
tree_test.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
update.go Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
upload.go Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago