Git development
 help / color / mirror / Atom feed
* stg branch switch causes unnecessary recompilation
@ 2006-02-11 13:07 Andrey Borzenkov
  0 siblings, 0 replies; only message in thread
From: Andrey Borzenkov @ 2006-02-11 13:07 UTC (permalink / raw)
  To: git

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

{pts/1}% stg version
Stacked GIT 0.8.1
git version 1.1.6
Python version 2.4.2 (#2, Jan 30 2006, 18:33:58)
[GCC 4.0.2 (4.0.2-1mdk for Mandriva Linux release 2006.1)]


Apparently stg branch is implemented as

- - pop all patches
- - do git checkout branch
- - push all patches

unfortunately it results in changing timestamp of all patched files causing 
sometimes long recompilations. What I just had was:

- - I have several local patches for kernel that I keep in separate branches; I 
also have one branch that I pick patches into and that I keep in sync with 
upstream.

- - I pulled 2.6.15.4 stable and recompiled. In the process I noticed a trivial 
error in one file

- - I created new branch, put fix in there, switched to my main branch, picked 
patch and did make. It resulted in recompilation of *everything* that was 
touched by *any* patch.

Sometimes it may be quite time consuming. Notice that git checkout does not 
have this problem - it sets timestamp exactly to the one in index. It would 
be nice if stg did the same.

regards

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD7eGPR6LMutpd94wRAmGEAJ49maPpI6VjGyp8sIOwPBKQNuUeZgCePOoN
C9bqat7QEA5Pt6bzegW0q2E=
=0JHo
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-11 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-11 13:07 stg branch switch causes unnecessary recompilation Andrey Borzenkov

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