-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use git diff-tree
for DiffFileTree
on diff pages
#33514
base: main
Are you sure you want to change the base?
Conversation
git diff-tree
for DiffFileTree
on diff pages
4799444
to
5752410
Compare
I think you don't need to update all the language files except en_US. |
I am not sure I understand, If I remove it from |
Because other language files will be synced from translate.gitea.com, so basicaly you just need to change the |
== Changes * removes Show Status button on diff * uses `git diff-tree` to generate the file tree for the diff
b50105b
to
0982492
Compare
I did a test manually, looks like a modified file can not be selected. |
Modify Diff View FileTree to show all files
Changes
git diff-tree
to generate the file tree for the diffDiffFileList.vue
and "Show Stats" in diff optionsOpen Questions
Demo
In this demo I set
git.MAX_GIT_DIFF_FILES=1
in myapp.ini
to demonstrate a worst case example. In most cases the behaviour isn't nearly as jarring as we load a bunch of files at a time.Screen.Recording.2025-02-06.at.6.51.03.PM.mov