mirror of
https://github.com/git/git.git
synced 2024-11-16 06:03:44 +01:00
f653aee5a3
With --strip-comments (or short -s), git stripspace now removes lines beginning with a '#', too. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
35 lines
597 B
Text
35 lines
597 B
Text
git-stripspace(1)
|
|
=================
|
|
|
|
NAME
|
|
----
|
|
git-stripspace - Filter out empty lines
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-stripspace' [-s | --strip-comments] < <stream>
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Remove multiple empty lines, and empty lines at beginning and end.
|
|
|
|
OPTIONS
|
|
-------
|
|
-s\|--strip-comments::
|
|
In addition to empty lines, also strip lines starting with '#'.
|
|
|
|
<stream>::
|
|
Byte stream to act on.
|
|
|
|
Author
|
|
------
|
|
Written by Linus Torvalds <torvalds@osdl.org>
|
|
|
|
Documentation
|
|
--------------
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
GIT
|
|
---
|
|
Part of the gitlink:git[7] suite
|