gitea/modules/repofiles
zeripath 99fb256411
Finally fix diff names () ()
Backport 

it is possible to have an ambiguous line here.

if they needed to be and if one was quoted then both would be.

Both of these were wrong.

I have now discovered `--src-prefix` and `--dst-prefix` which
means that we can set this in such a way to force the git diff
to always be unambiguous.

Therefore this PR rollsback most of the changes in  and
uses these options to fix this.

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
action.go Update only the repository columns that need updating () ()
action_test.go Improve push update options ()
blob.go Add Close() method to gogitRepository ()
blob_test.go Add Close() method to gogitRepository ()
commit.go Number of commits ahead/behind in branch overview ()
commit_status.go Add Close() method to gogitRepository ()
content.go Fix GetContents(): Dont't ignore Executables ()
content_test.go Add Close() method to gogitRepository ()
delete.go Allow to set protected file patterns that can not be changed under no conditions ()
diff.go Move git diff codes from models to services/gitdiff ()
diff_test.go Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code ()
file.go File Edit: Author/Committer interchanged [BugFix] ()
file_test.go Add Close() method to gogitRepository ()
repofiles.go Fixes 4762 - Content API for Creating, Updating, Deleting Files ()
repofiles_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files ()
temp_repo.go Finally fix diff names () ()
tree.go fixed bug in GitTreeBySHA where pulling items from a page other than page 1 would fail because the wrong var was used to set the entries to return ()
tree_test.go Add Close() method to gogitRepository ()
update.go Handle push rejection in branch and upload ()
upload.go Prevent upload (overwrite) of lfs locked file ()
verification.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key ()