When a user clones an untrusted repository and runs gitk
without additional command arguments, files for which the user has write permission can be created and truncated. The option Support per-file encoding must have been enabled before in Gitk's Preferences. This option is disabled by default.
The same happens when Show origin of this line is used in the main window (regardless of whether Support per-file encoding is enabled or not).
Patchesgitk
.A similar issue is present in Git GUI.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4