git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-log produces no output
@ 2006-04-21 17:20 Bob Portmann
  2006-04-21 18:11 ` Linus Torvalds
  0 siblings, 1 reply; 10+ messages in thread
From: Bob Portmann @ 2006-04-21 17:20 UTC (permalink / raw)
  To: Git Mailing List

I am just starting out with git and have a noob question about got-log.
 I cannot get any output out of it and am wondering if I am using it
correctly or it is broken.  As I understand it, git-log should just
print out the log messages but not the changes, whereas git-whatchanged
will print out both.  But while git-whatchanged works, git-log never
does.  I have a trivial example below which shows what I mean.  But I
get the same result using my real archives and out of git.git as well.

Thanks,
Bob

PS I'm using git 1.3.0 and have tried this on both Mac OS X and Linux
with the same results.

Trivial example:
git-test> mkdir test-log
git-test> cd test-log
test-log> git-init-db
defaulting to local storage area
test-log> echo "Hello World" >hello
test-log> git add .
test-log> git commit -a -m 'One line hello'
Committing initial tree 117c62a8c5e01758bd284126a6af69deab9dbbe2
test-log> echo "Hello World 2" >>hello
test-log> git commit -a -m 'Two line hello'
test-log> git whatchanged -p
diff-tree 9a4d7602fff052b6796c2862edddd11ae2e45d08 (from
a38306518c5e5e8eb630c02Author: Bob Portmann <portmann@xxxx.xx.xx>
Date:   Fri Apr 21 10:56:11 2006 -0600

    Two line hello

diff --git a/hello b/hello
index 557db03..514e5c5 100644
--- a/hello
+++ b/hello
@@ -1 +1,2 @@
 Hello World
+Hello World 2
test-log> git log
test-log> 

As you can see git log produces no output.  I've tried it with other
options with the same result.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2006-04-21 20:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-21 17:20 git-log produces no output Bob Portmann
2006-04-21 18:11 ` Linus Torvalds
2006-04-21 18:48   ` Bob Portmann
2006-04-21 18:58     ` Paolo Ciarrocchi
2006-04-21 19:13       ` Bob Portmann
2006-04-21 19:18     ` Linus Torvalds
2006-04-21 19:25       ` Linus Torvalds
2006-04-21 19:38         ` Bob Portmann
2006-04-21 20:05         ` Junio C Hamano
2006-04-21 20:25           ` Linus Torvalds

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