* updating the source tree
@ 2010-10-07 17:34 Grzesiek Sójka
[not found] ` <4CAE04AB.9070202-t9zbU3WrWHI@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Grzesiek Sójka @ 2010-10-07 17:34 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Hi there,
I downloaded the nouveau/linux-2.6 using the following:
git clone --depth 1 git://anongit.freedesktop.org/nouveau/linux-2.6
Is there an easy way to update it to the current version (reversing all
the changes I made) without downloading all the files again??
Thanks for your help in advance.
greg
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <4CAE04AB.9070202-t9zbU3WrWHI@public.gmane.org>]
* Re: updating the source tree [not found] ` <4CAE04AB.9070202-t9zbU3WrWHI@public.gmane.org> @ 2010-10-07 17:51 ` Pekka Paalanen [not found] ` <4CAE0C69.3040405@pfu.pl> 0 siblings, 1 reply; 4+ messages in thread From: Pekka Paalanen @ 2010-10-07 17:51 UTC (permalink / raw) To: Grzesiek Sójka; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On Thu, 07 Oct 2010 19:34:35 +0200 Grzesiek Sójka <pld-t9zbU3WrWHI@public.gmane.org> wrote: > Hi there, > > I downloaded the nouveau/linux-2.6 using the following: > git clone --depth 1 > git://anongit.freedesktop.org/nouveau/linux-2.6 Is there an easy > way to update it to the current version (reversing all the > changes I made) without downloading all the files again?? Yes, this should work: http://nouveau.freedesktop.org/wiki/InstallDRM#UpdatingtheNouveaukernelgitrepository That is, to fetch updates: $ git remote update and to reset your current checkout to nouveau/master: $ git reset --hard origin/master That should discard all commits and local changes you may have made. It will not remove temporary files or compilation results. -- Pekka Paalanen http://www.iki.fi/pq/ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <4CAE0C69.3040405@pfu.pl>]
[parent not found: <4CAE0C69.3040405-t9zbU3WrWHI@public.gmane.org>]
* Re: updating the source tree [not found] ` <4CAE0C69.3040405-t9zbU3WrWHI@public.gmane.org> @ 2010-10-07 18:55 ` Pekka Paalanen [not found] ` <20101007215505.5dc21006-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Pekka Paalanen @ 2010-10-07 18:55 UTC (permalink / raw) To: Grzesiek Sójka; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On Thu, 07 Oct 2010 20:07:37 +0200 Grzesiek Sójka <pld-t9zbU3WrWHI@public.gmane.org> wrote: > On 10/07/10 19:51, Pekka Paalanen wrote: > > On Thu, 07 Oct 2010 19:34:35 +0200 > > Grzesiek Sójka<pld-t9zbU3WrWHI@public.gmane.org> wrote: > > > >> I downloaded the nouveau/linux-2.6 using the following: > >> git clone --depth 1 > >> git://anongit.freedesktop.org/nouveau/linux-2.6 Is there an If you really did that and then went into linux-2.6/ dir and said: > # git remote update > fatal: Not a git repository (or any parent up to mount > parent /home) Stopping at filesystem boundary > (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). I don't understand. Somehow you have deleted the .git/ directory from that checkout. Or you have GIT_DIR environment variable set. > This probably means that to be able to update I need to download > the nouveau/linux-2.6 using the > > git remote add nouveau > git://anongit.freedesktop.org/nouveau/linux-2.6 git checkout -b > nouveau-master nouveau/master That works only if you already have a git repo. The previous error says you don't have. Furthermore, the exact commands you quoted do not actually download anything. You still need 'git remote update' before checkout to download. > instead of > > git clone > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git This will clone Linus' git repo, after which you would use the 'git remote add' incatation to add nouveau repo. -- Pekka Paalanen http://www.iki.fi/pq/ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20101007215505.5dc21006-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>]
* Re: updating the source tree [not found] ` <20101007215505.5dc21006-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org> @ 2010-10-07 18:58 ` Grzesiek Sójka 0 siblings, 0 replies; 4+ messages in thread From: Grzesiek Sójka @ 2010-10-07 18:58 UTC (permalink / raw) To: Pekka Paalanen; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On 10/07/10 20:55, Pekka Paalanen wrote: > On Thu, 07 Oct 2010 20:07:37 +0200 > Grzesiek Sójka<pld-t9zbU3WrWHI@public.gmane.org> wrote: > >> On 10/07/10 19:51, Pekka Paalanen wrote: >>> On Thu, 07 Oct 2010 19:34:35 +0200 >>> Grzesiek Sójka<pld-t9zbU3WrWHI@public.gmane.org> wrote: >>> >>>> I downloaded the nouveau/linux-2.6 using the following: >>>> git clone --depth 1 >>>> git://anongit.freedesktop.org/nouveau/linux-2.6 Is there an > > If you really did that > and then went into linux-2.6/ dir and said: I did it in the directory _containing_ the linux-2.6 dir. So probably my mistake. I already downloaded the fresh version of the linux-2.6. I try to follow your advice next time. Cheers. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-07 18:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 17:34 updating the source tree Grzesiek Sójka
[not found] ` <4CAE04AB.9070202-t9zbU3WrWHI@public.gmane.org>
2010-10-07 17:51 ` Pekka Paalanen
[not found] ` <4CAE0C69.3040405@pfu.pl>
[not found] ` <4CAE0C69.3040405-t9zbU3WrWHI@public.gmane.org>
2010-10-07 18:55 ` Pekka Paalanen
[not found] ` <20101007215505.5dc21006-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2010-10-07 18:58 ` Grzesiek Sójka
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.