git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [COGITO] cg-status in an empty repo spits out git-diff-index usage info
@ 2005-09-30 18:18 Elfyn McBratney
  2005-10-01  7:17 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Elfyn McBratney @ 2005-09-30 18:18 UTC (permalink / raw
  To: git mailing list; +Cc: Petr Baudis

[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]

[Re-sending ..]

Hello Petr, git list,

A `cg-status` in an empty repo (i.e., straight after a `cg-init -I`)
spits out git-diff-index usage information, a la:

	[($) 09:03:42] beu@zippy ~/git/test
	> cg-status
	Heads:
	    >master
	    
	    usage: git-diff-index [-m] [--cached] [<common diff options>] <tree-ish> [<path>...]
	    common diff options:
	    [...]

which I'm guessing isn't expected behaviour ;)  `git status` does the
same, FWIW.  I'm having a look around to try and figure out why, and
will try to work up a patch to fix it, but in case I don't find the bug
(or feature ;), consider this a heads-up. :)

(And I've just used gitk for the first time, too, and I must say it's
one invaluable piece of software !  Kudos to it's creators :)

This is with latest cogito.git (b06f2a707963c8712f7a6bbd4b89bae758bcf92a,
though the 'bug' is also present in 0.15.1) with git 0.99.7d.

Best,
Elfyn

-- 
Elfyn McBratney
Gentoo Developer/Perl Team Lead
beu/irc.freenode.net                            http://dev.gentoo.org/~beu/
+------------O.o--------------------- http://dev.gentoo.org/~beu/pubkey.asc

PGP Key ID: 0x69DF17AD
PGP Key Fingerprint:
  DBD3 B756 ED58 B1B4 47B9  B3BD 8D41 E597 69DF 17AD

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [COGITO] cg-status in an empty repo spits out git-diff-index usage info
  2005-09-30 18:18 [COGITO] cg-status in an empty repo spits out git-diff-index usage info Elfyn McBratney
@ 2005-10-01  7:17 ` Junio C Hamano
  2005-10-04 13:02   ` Elfyn McBratney
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2005-10-01  7:17 UTC (permalink / raw
  To: Elfyn McBratney; +Cc: git mailing list

Elfyn McBratney <beu@gentoo.org> writes:

> which I'm guessing isn't expected behaviour ;)  `git status` does the
> same, FWIW.

Yes, I noticed 'git status' did it that some time ago, and I
thought "gee, that was ugly".  But then I imagined what any
other realist maintainer would have said if I reported it as a
bug.

    Lbh xabj lbh'ir whfg perngrq lbhe ercb naq vg vf rzcgl.
    Jung qvq lbh rkcrpg sebz 'fgnghf' bhgchg?  Jub pnerf!  Naq
    ubj bsgra jbhyq lbh rkcrpg gb eha 'tvg fgnghf' va n arjyl
    perngrq ercbfvgbel sebz abj ba, abj lbh xabj jung lbh jbhyq
    frr?  Trg hfrq gb vg.

But I fixed it anyway, exactly a month ago.

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

* Re: [COGITO] cg-status in an empty repo spits out git-diff-index usage info
  2005-10-01  7:17 ` Junio C Hamano
@ 2005-10-04 13:02   ` Elfyn McBratney
  0 siblings, 0 replies; 3+ messages in thread
From: Elfyn McBratney @ 2005-10-04 13:02 UTC (permalink / raw
  To: Junio C Hamano; +Cc: git mailing list

[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]

On Sat, Oct 01, 2005 at 12:17:13 -0700, Junio C Hamano wrote:
 > Elfyn McBratney <beu@gentoo.org> writes:
 > 
 > > which I'm guessing isn't expected behaviour ;)  `git status` does the
 > > same, FWIW.
 > 
 > Yes, I noticed 'git status' did it that some time ago, and I
 > thought "gee, that was ugly".  But then I imagined what any
 > other realist maintainer would have said if I reported it as a
 > bug.
 > 
 >     Lbh xabj lbh'ir whfg perngrq lbhe ercb naq vg vf rzcgl.
 >     Jung qvq lbh rkcrpg sebz 'fgnghf' bhgchg?  Jub pnerf!  Naq
 >     ubj bsgra jbhyq lbh rkcrpg gb eha 'tvg fgnghf' va n arjyl
 >     perngrq ercbfvgbel sebz abj ba, abj lbh xabj jung lbh jbhyq
 >     frr?  Trg hfrq gb vg.
 > 
 > But I fixed it anyway, exactly a month ago.
 > 
 > 
 > -
 > To unsubscribe from this list: send the line "unsubscribe git" in
 > the body of a message to majordomo@vger.kernel.org
 > More majordomo info at  http://vger.kernel.org/majordomo-info.html
 > 

Hehe - cool, thanks. :)

Best,
Elfyn

-- 
Elfyn McBratney
Gentoo Developer/Perl Team Lead
beu/irc.freenode.net                            http://dev.gentoo.org/~beu/
+------------O.o--------------------- http://dev.gentoo.org/~beu/pubkey.asc

PGP Key ID: 0x69DF17AD
PGP Key Fingerprint:
  DBD3 B756 ED58 B1B4 47B9  B3BD 8D41 E597 69DF 17AD

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-10-04 13:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 18:18 [COGITO] cg-status in an empty repo spits out git-diff-index usage info Elfyn McBratney
2005-10-01  7:17 ` Junio C Hamano
2005-10-04 13:02   ` Elfyn McBratney

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).