From: GitHub Chris Idema Date: Mon, 26 Jan 2026 13:32:28 GMT Subject: Re: [PATCH] diff.tcl: fixed alignment of tabs in git-gui diff by using spaces Message-ID: In-Reply-To: <01d0faaf-99fb-42a4-befd-bb7f359809bc@kdbg.org> > Sorry, I cannot reproduce what I read into this sentence. When I change the "Tab spacing" option in the Options dialog, the display changes to the specified tab width. I'm using Tcl/Tk 8.6. I use git for Windows version "2.52.0.windows.1" on Windows 11. Here is how you can reproduce the problem: mkdir test_tabs cd test_tabs git init echo "" > test.c git add . git commit -m "initial commit" echo -e "int test1\t= 5;\nint test11\t= 6;\nint test111\t= 6;\n" > test.c git gui > Do "Stage Line/Hunk for Commit" still work after this conversion? I'm sorry but I don't know what this means. -- Chris -------- Original Message -------- On Monday, 01/26/26 at 13:15 Johannes Sixt wrote: Am 26.01.26 um 11:45 schrieb Chris Idema via GitGitGadget: > From: Chris Idema > > Tabs were not properly rendered in TK regardless of tab width settings. Sorry, I cannot reproduce what I read into this sentence. When I change the "Tab spacing" option in the Options dialog, the display changes to the specified tab width. I'm using Tcl/Tk 8.6. > Converting tab alignment to spaces before rendering in TK fixes this. Do "Stage Line/Hunk for Commit" still work after this conversion? -- Hannes