Re: [PATCH/RFC v3] diff.tcl: made alignment of tabs in git-gui diff consistent with gitk
- From
GitHub Chris Idema <github_chris_idema@proton.me>
- Date
- Jan 28, 2026, 19:02 UTC
- Message-ID
- <ltvoMavyjgCl1Axuv1HV0rBdQPT2AcZQi4z9mo50OHYwoJ6pjCqEmdWfTmv2YHVSQjYxk2HSdxBXjTTKysBJ2CkdPotiOUIkUSnOMyOvLPU=@proton.me>
- In-Reply-To
- <547d261c-a716-4c57-8b93-09cf7d8fb176@kdbg.org>
> This is a patch for Git GUI. Please use the subject prefix "git-gui:".
The file name need not be mentioned.
Thank you.
>If you look at commit a43c5f51a4b1, you will notice that it intended to
apply "magic" tabstops only to 3-way-diffs
I see it now. I was able to test: - "Modified, not staged", needs "apply_tab_size 1" - "Staged for commit", needs "apply_tab_size 1" - "Requires merge resolution", doesn't work and needs "apply_tab_size 2" - "Untracked, not staged", handled somewhere else, works - "Missing", needs "apply_tab_size 1" - "Staged for removal", needs "apply_tab_size 1"
So I need to make some changes.
-- Chris