All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sidhant Sharma <tigerkid001@gmail.com>
To: git@vger.kernel.org
Subject: Re: [PATCH] stripspace: add --line-count flag
Date: Sat, 5 Mar 2016 00:13:28 +0530	[thread overview]
Message-ID: <56D9D750.1030703@gmail.com> (raw)
In-Reply-To: <1457116723-20206-1-git-send-email-tigerkid001@gmail.com>


>  builtin/stripspace.c       | 22 +++++++++++++++++++++-
>  git-rebase--interactive.sh |  6 +++---
>  2 files changed, 24 insertions(+), 4 deletions(-)
>
This is my first attempt at the small project listed here: https://git.wiki.kernel.org/index.php/SmallProjectsIdeas#implement_.27--count-lines.27_in_.27git_stripspace.27.
With this, --line-count can be used with stripspace, instead of having to pipe its output to `wc -l` in git-rebase--interactive.sh. I went with --line-count and not --count-lines since its short form (-c) is already in use, and I think -l is more apt for this.
Comments?


Thanks and regards,
Sidhant Sharma [:tk]

  reply	other threads:[~2016-03-04 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04 18:38 [PATCH] stripspace: add --line-count flag Sidhant Sharma [:tk]
2016-03-04 18:43 ` Sidhant Sharma [this message]
2016-03-04 18:49   ` Junio C Hamano
2016-03-04 18:56     ` Sidhant Sharma
2016-03-04 18:57     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D9D750.1030703@gmail.com \
    --to=tigerkid001@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.