296814e887
* Use git plumbing for upload: #5621 repo_editor.go: UploadRepoFile
* Use git plumbing for upload: #5621 repo_editor.go: GetDiffPreview
* Use git plumbing for upload: #5621 repo_editor.go: DeleteRepoFile
* Use git plumbing for upload: #5621 repo_editor.go: UploadRepoFiles
* Move branch checkout functions out of repo_editor.go as they are no longer used there
* BUGFIX: The default permissions should be 100644
This is a change from the previous code but is more in keeping
with the default behaviour of git.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Standardise cleanUploadFilename to more closely match git
See verify_path in:
|
||
---|---|---|
.. | ||
auth | ||
avatar | ||
base | ||
cache | ||
context | ||
cron | ||
generate | ||
gzip | ||
highlight | ||
httplib | ||
indexer | ||
lfs | ||
log | ||
mailer | ||
markup | ||
metrics | ||
minwinsvc | ||
notification | ||
options | ||
pprof | ||
private | ||
process | ||
public | ||
recaptcha | ||
search | ||
setting | ||
ssh | ||
sync | ||
templates | ||
test | ||
uploader | ||
user | ||
util | ||
validation |