public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Stupid GIT question...
@ 2007-04-18 20:08 Valdis.Kletnieks
  2007-04-18 20:58 ` Andreas Schwab
  0 siblings, 1 reply; 8+ messages in thread
From: Valdis.Kletnieks @ 2007-04-18 20:08 UTC (permalink / raw)
  To: linux-kernel

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

I have a GIT tree (iwlwifi, but the problem is my idiocy, not the tree ;).

What's the command to get a diff of "what I would merge if I said 'git pull'?"
(similar to what 'cvs diff' does - AFAICT, 'git diff HEAD .' diffs my *current*
pull of the tree against itself and does nothing...


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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* stupid git question
@ 2011-09-14 20:19 Bob Tracy
  2011-09-14 20:22 ` Josh Boyer
  2011-09-14 20:22 ` Markus Trippelsdorf
  0 siblings, 2 replies; 8+ messages in thread
From: Bob Tracy @ 2011-09-14 20:19 UTC (permalink / raw)
  To: linux-kernel

Subject says a mouthful, but I digress...

Pointed "git" at Linus' github.com repository to pull the "-rc6"
changes (git pull <repo_url>).  Seems to have worked, except I received
no updated tags: the latest tag in my local repo copy is "v3.1-rc4".

Is this an expected consequence of doing the initial clone operation
from one repo, and then pulling updates from another that, in theory, is
identical to the first?  If so, is there an officially sanctioned method
of switching repositories that doesn't require blowing away the local
copy and doing another "git clone"?

Thanks.

--Bob

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Stupid git question...
@ 2015-12-12  1:27 Valdis Kletnieks
  2015-12-12  8:05 ` Jeff Kirsher
  0 siblings, 1 reply; 8+ messages in thread
From: Valdis Kletnieks @ 2015-12-12  1:27 UTC (permalink / raw)
  To: linux-kernel

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

OK.. Here's the situation - I've got several sets of patches I'll probably
be cooking over the holidays, and I'm planning to base on linux-next (though
any other moving-target base has the same issues).

What I *want* to accomplish:

At any given point, linux-next may or may not have breakages that cause
me grief (anything from compile issues to can't-boot-to-multiuser crashes).
What's the *clean* way to accomplish the following:

<assume I have a current linux-next/master copied to my box>

git branch --track linux-next/master local-fixes

git branch --track local-fixes project-1
git branch --track local-fixes project-2
git branch --track local-fixes project-3

Basically, have some way to keep track of the small integer number of
local things that I don't want escaping if I do a 'git format-patch project-2'
or other similar thing, and so I only have to deal with doing the local
fix once.  Just dropping commits on top of linux-next doesn't seem right, as
it could get ugly the next 'git remote update'.

What are maintainers doing to deal with similar issues, where you need to
make sure that your test builds in fact contain unrelated commits needed for
the build to be testable?

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

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

end of thread, other threads:[~2015-12-12  8:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-18 20:08 Stupid GIT question Valdis.Kletnieks
2007-04-18 20:58 ` Andreas Schwab
  -- strict thread matches above, loose matches on Subject: below --
2011-09-14 20:19 stupid git question Bob Tracy
2011-09-14 20:22 ` Josh Boyer
2011-09-14 20:32   ` Bob Tracy
2011-09-14 20:22 ` Markus Trippelsdorf
2015-12-12  1:27 Stupid " Valdis Kletnieks
2015-12-12  8:05 ` Jeff Kirsher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox