git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-rebase--interactive.sh: Remove superfluous tab in rebase

From
DBDaniel Baumann <mail@daniel-baumann.ch>
Date
Jul 25, 2018, 10:12 UTC
Message-ID
<db70d275-584e-3a3b-5201-dc04e4c5950b@daniel-baumann.ch>
Hi,

the attached patch removes a superfluous tab indentation in the interactive git-rebase messages.

It would be nice to get rid of this to avoid visual disturbance with whitespace highlighting editors.

Regards, Daniel

From 353eb1c2c44d5117a3fad1323ca6852b13e4c86a Mon Sep 17 00:00:00 2001
From: Daniel Baumann <mail@daniel-baumann.ch>
Date: Wed, 25 Jul 2018 11:58:40 +0200
Subject: [PATCH] git-rebase--interactive.sh: Remove superfluous tab in rebase
 file

Removing superfluous tab indentation in interactive git-rebase file to avoid visual disturbance with whitespace highlighting editors.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
---
 git-rebase--interactive.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index 299ded213..0bf9eefad 100644
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -224,7 +224,7 @@ EOF
 	gettext "
 	However, if you remove everything, the rebase will be aborted.
 
-	" | git stripspace --comment-lines >>"$todo"
+" | git stripspace --comment-lines >>"$todo"
 
 	if test -z "$keep_empty"
 	then
-- 
2.18.0
Next: Ævar Arnfjörð Bjarmason
Message 1 of 4 in “git-rebase--interactive.sh: Remove superfluous tab in rebase”
  1. git-rebase--interactive.sh: Remove superfluous tab in rebaseDaniel Baumann, Jul 25, 2018
  2. Ævar Arnfjörð BjarmasonJul 25, 2018
  3. Daniel BaumannJul 26, 2018
  4. Junio C HamanoJul 26, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.