Thread (29 messages) 29 messages, 3 authors, 2025-05-27
STALE399d
Revisions (3)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 current

[PATCH v3 1/9] doc: stripspace: mention where the default comes from

From: <hidden>
Date: 2025-05-27 21:19:59
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

From: Kristoffer Haugsbakk <redacted>

Also quote `#` in line with the modern formatting convention.

Signed-off-by: Kristoffer Haugsbakk <redacted>
---

Notes (series):
    v2:
    • More terse mention of the default as well as the configuration
      variable.  Don’t link to git-config(1), there’s no real need.
    
      Link: https://lore.kernel.org/git/xmqqjz6bhzkm.fsf@gitster.g/ (local)
    v1:
    • “modern formatting convention”
    
      It looks like characters are quoted with backticks in the commits I’ve
      seen by Jean-Noël Avila lately.

 Documentation/git-stripspace.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/git-stripspace.adoc b/Documentation/git-stripspace.adoc
index a293327581a..37287f211f0 100644
--- a/Documentation/git-stripspace.adoc
+++ b/Documentation/git-stripspace.adoc
@@ -37,7 +37,8 @@ OPTIONS
 -------
 -s::
 --strip-comments::
-	Skip and remove all lines starting with a comment character (default '#').
+	Skip and remove all lines starting with a comment character
+	(`core.commentChar`, default `#`).
 
 -c::
 --comment-lines::
-- 
2.49.0.780.g892193c3f50
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help