git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
To: Petr Baudis <pasky@suse.cz>
Cc: git@vger.kernel.org
Subject: [PATCH] Unclutter cg status with --directory as GIT does
Date: Thu, 19 Jan 2006 22:16:46 +0100	[thread overview]
Message-ID: <20060119211646.28186.18564.stgit@zion.home.lan> (raw)


From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

Pass the new --directory option (from git 1.1) to git-ls-others for
list_untracked_files, as does git-status - it's very useful.

Probably this must be deferred to when the git 1.1 dependency is added, however
please queue it for then.

Thanks.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
---

 cg-Xlib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cg-Xlib b/cg-Xlib
index 30e2ee9..539c885 100755
--- a/cg-Xlib
+++ b/cg-Xlib
@@ -206,7 +206,7 @@ list_untracked_files()
 		fi
 		EXCLUDE="$EXCLUDE --exclude-per-directory=.gitignore"
 	fi
-	git-ls-files -z --others $EXCLUDE
+	git-ls-files -z --others --directory $EXCLUDE
 }
 
 # Usage: showdate SECONDS TIMEZONE [FORMAT]

             reply	other threads:[~2006-01-19 21:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-19 21:16 Paolo 'Blaisorblade' Giarrusso [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-29 14:25 [PATCH] Unclutter cg status with --directory as GIT does Paolo 'Blaisorblade' Giarrusso
2006-03-29 14:54 ` Petr Baudis
2006-03-29 15:04   ` Blaisorblade
2006-03-29 15:08     ` Petr Baudis

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=20060119211646.28186.18564.stgit@zion.home.lan \
    --to=blaisorblade@yahoo.it \
    --cc=git@vger.kernel.org \
    --cc=pasky@suse.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).