git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Unclutter cg status with --directory as GIT does
@ 2006-01-19 21:16 Paolo 'Blaisorblade' Giarrusso
  0 siblings, 0 replies; 5+ messages in thread
From: Paolo 'Blaisorblade' Giarrusso @ 2006-01-19 21:16 UTC (permalink / raw)
  To: Petr Baudis; +Cc: git


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]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] Unclutter cg status with --directory as GIT does
@ 2006-03-29 14:25 Paolo 'Blaisorblade' Giarrusso
  2006-03-29 14:54 ` Petr Baudis
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo 'Blaisorblade' Giarrusso @ 2006-03-29 14:25 UTC (permalink / raw)
  To: Petr Baudis; +Cc: git

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

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 2b93c11..3150470 100644
--- a/cg-Xlib
+++ b/cg-Xlib
@@ -274,7 +274,7 @@ list_untracked_files()
 	fi
 	local listdirs=
 	[ "$squashflag" = "squashdirs" ] && listdirs=--directory
-	git-ls-files -z --others $listdirs "${EXCLUDE[@]}"
+	git-ls-files -z --others --directory $listdirs "${EXCLUDE[@]}"
 }
 
 pick_id()

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] Unclutter cg status with --directory as GIT does
  2006-03-29 14:25 Paolo 'Blaisorblade' Giarrusso
@ 2006-03-29 14:54 ` Petr Baudis
  2006-03-29 15:04   ` Blaisorblade
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Baudis @ 2006-03-29 14:54 UTC (permalink / raw)
  To: Paolo 'Blaisorblade' Giarrusso; +Cc: git

Dear diary, on Wed, Mar 29, 2006 at 04:25:59PM CEST, I got a letter
where Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> said that...
> 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.

Uh, I'm confused. Cogito now depends on git-1.1, and

> diff --git a/cg-Xlib b/cg-Xlib
> index 2b93c11..3150470 100644
> --- a/cg-Xlib
> +++ b/cg-Xlib
> @@ -274,7 +274,7 @@ list_untracked_files()
>  	fi
>  	local listdirs=
>  	[ "$squashflag" = "squashdirs" ] && listdirs=--directory
> -	git-ls-files -z --others $listdirs "${EXCLUDE[@]}"
> +	git-ls-files -z --others --directory $listdirs "${EXCLUDE[@]}"

as you can see, if list_untracked_files was pssed the 'squashdirs'
option, it will already pass it. What cg command would you like to
squash dirs except cg-status?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Right now I am having amnesia and deja-vu at the same time.  I think
I have forgotten this before.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Unclutter cg status with --directory as GIT does
  2006-03-29 14:54 ` Petr Baudis
@ 2006-03-29 15:04   ` Blaisorblade
  2006-03-29 15:08     ` Petr Baudis
  0 siblings, 1 reply; 5+ messages in thread
From: Blaisorblade @ 2006-03-29 15:04 UTC (permalink / raw)
  To: Petr Baudis; +Cc: git

On Wednesday 29 March 2006 16:54, Petr Baudis wrote:
> Dear diary, on Wed, Mar 29, 2006 at 04:25:59PM CEST, I got a letter
> where Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> said that...

> > 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.

> Uh, I'm confused. Cogito now depends on git-1.1, and

> as you can see, if list_untracked_files was pssed the 'squashdirs'
> option, it will already pass it. What cg command would you like to
> squash dirs except cg-status?

Sorry, that's just an old patch then, I didn't note you did it yourself.

I wrote it before you had the 1.1 dependency and didn't notice you made 
something similar.

Bye and sorry for the noise
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Unclutter cg status with --directory as GIT does
  2006-03-29 15:04   ` Blaisorblade
@ 2006-03-29 15:08     ` Petr Baudis
  0 siblings, 0 replies; 5+ messages in thread
From: Petr Baudis @ 2006-03-29 15:08 UTC (permalink / raw)
  To: Blaisorblade; +Cc: git

Dear diary, on Wed, Mar 29, 2006 at 05:04:14PM CEST, I got a letter
where Blaisorblade <blaisorblade@yahoo.it> said that...
> Sorry, that's just an old patch then, I didn't note you did it yourself.
> 
> I wrote it before you had the 1.1 dependency and didn't notice you made 
> something similar.

Well, I've just applied your patch :-) :

commit 4e1cd8ac4815bdc3e6671a2a5a266a9ca675630d
author Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Thu, 19 Jan 2006 22:16:46 +0100
committer Petr Baudis <xpasky@machine.or.cz> Sat, 21 Jan 2006 02:21:13 +0100

Kind regards,

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Right now I am having amnesia and deja-vu at the same time.  I think
I have forgotten this before.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-29 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19 21:16 [PATCH] Unclutter cg status with --directory as GIT does Paolo 'Blaisorblade' Giarrusso
  -- strict thread matches above, loose matches on Subject: below --
2006-03-29 14:25 Paolo 'Blaisorblade' Giarrusso
2006-03-29 14:54 ` Petr Baudis
2006-03-29 15:04   ` Blaisorblade
2006-03-29 15:08     ` Petr Baudis

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).