git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cannot see git-fetch result in gitk
@ 2007-12-01 12:34 Tilman Schmidt
  2007-12-01 13:55 ` Jakub Narebski
  0 siblings, 1 reply; 3+ messages in thread
From: Tilman Schmidt @ 2007-12-01 12:34 UTC (permalink / raw)
  To: git

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

I'm still learning my way around git and trying to understand how it
works. So after reading
http://www.kernel.org/pub/software/scm/git/docs/howto/rebase-from-internal-branch.txt
I wanted to try and understand the command sequence

git fetch origin
git rebase FETCH_HEAD

by looking at what it does with gitk. But after the first command I do
not see any change at all in gitk. Only after the second one do the
newly fetched objects appear in the gitk display.

Simple question: why?

Thanks,
Tilman

-- 
Tilman Schmidt                          E-Mail: tilman@imap.cc
Bonn, Germany
Yes, I have searched Google!


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]

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

* Re: cannot see git-fetch result in gitk
  2007-12-01 12:34 cannot see git-fetch result in gitk Tilman Schmidt
@ 2007-12-01 13:55 ` Jakub Narebski
  2007-12-02 15:15   ` Tilman Schmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Narebski @ 2007-12-01 13:55 UTC (permalink / raw)
  To: Tilman Schmidt; +Cc: git

Tilman Schmidt <tilman@imap.cc> writes:

> I'm still learning my way around git and trying to understand how it
> works. So after reading
>   howto/rebase-from-internal-branch.txt
> I wanted to try and understand the command sequence
> 
> git fetch origin
> git rebase FETCH_HEAD
> 
> by looking at what it does with gitk. But after the first command I do
> not see any change at all in gitk. Only after the second one do the
> newly fetched objects appear in the gitk display.
> 
> Simple question: why?

Did you run just "gitk"? By default gitk displays only current branch,
while git-fetch changes remote-tracking branches only. Try 
"gitk --all", or "gitk origin/master ..." enumerating explicitely all
remote branches.

-- 
Jakub Narebski
Poland

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

* Re: cannot see git-fetch result in gitk
  2007-12-01 13:55 ` Jakub Narebski
@ 2007-12-02 15:15   ` Tilman Schmidt
  0 siblings, 0 replies; 3+ messages in thread
From: Tilman Schmidt @ 2007-12-02 15:15 UTC (permalink / raw)
  To: Jakub Narebski; +Cc: git

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

Am 01.12.2007 14:55 schrieb Jakub Narebski:
> Did you run just "gitk"? By default gitk displays only current branch,

Thanks, that explains it. It might be a good idea to mention that
in the manpage.

> while git-fetch changes remote-tracking branches only. Try 
> "gitk --all", or "gitk origin/master ..." enumerating explicitely all
> remote branches.

Ok, thanks, will try that next time git-fetch actually finds something
to fetch. ;-)

-- 
Tilman Schmidt                          E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]

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

end of thread, other threads:[~2007-12-02 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-01 12:34 cannot see git-fetch result in gitk Tilman Schmidt
2007-12-01 13:55 ` Jakub Narebski
2007-12-02 15:15   ` Tilman Schmidt

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