Re: Git checkout preserve timestamp?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Poole
Date: Monday, March 5, 2007 - 5:37 pm

Johannes Schindelin writes:


I want to have several local directories -- including build products
and configuration files that are neither build products nor revision
controlled -- that correspond to certain branches of one project.
(Sometimes I have several trees for a single branch, to handle
compile-time alternatives.)  I do not much care whether there is a
separate source tree for each of these or not.

When I switch from working on one branch to another, I do not want
file timestamps to be any later than the corresponding object was
changed in the repository.

When I change configuration options (including which branch(es) go to
which remote(s)), I want to make that change in one $GIT_DIR rather
than in one $GIT_DIR for each branch.

As a lower priority, I would like a fetch on any of the branches to
have results that are visible to all my local copies without more
network traffic.

The first two goals are neatly solved by having several local clones.
The third and fourth are where I get lost.

Michael Poole
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Git checkout preserve timestamp?, Bill Lear, (Thu Mar 1, 2:36 pm)
Re: Git checkout preserve timestamp?, Alex Riesen, (Thu Mar 1, 2:48 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Thu Mar 1, 3:13 pm)
Re: Git checkout preserve timestamp?, Linus Torvalds, (Thu Mar 1, 3:25 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Thu Mar 1, 3:32 pm)
Re: Git checkout preserve timestamp?, Karl , (Fri Mar 2, 2:14 am)
Re: Git checkout preserve timestamp?, Bill Lear, (Fri Mar 2, 6:24 am)
Re: Git checkout preserve timestamp?, Bart Trojanowski, (Fri Mar 2, 8:01 am)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Fri Mar 2, 8:18 am)
Re: Git checkout preserve timestamp?, Karl , (Fri Mar 2, 9:21 am)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Fri Mar 2, 12:21 pm)
Re: Git checkout preserve timestamp?, Karl , (Mon Mar 5, 12:23 am)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 4:32 am)
Re: Git checkout preserve timestamp?, Andy Parkins, (Mon Mar 5, 5:13 am)
Re: Git checkout preserve timestamp?, Karl , (Mon Mar 5, 5:28 am)
Re: Git checkout preserve timestamp?, Karl , (Mon Mar 5, 5:33 am)
Re: Git checkout preserve timestamp?, Andy Parkins, (Mon Mar 5, 6:19 am)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 7:46 am)
Re: Git checkout preserve timestamp?, Karl , (Mon Mar 5, 7:53 am)
Re: Git checkout preserve timestamp?, Andy Parkins, (Mon Mar 5, 9:01 am)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 9:28 am)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 12:04 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 12:16 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 12:59 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 1:44 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 2:42 pm)
Re: Git checkout preserve timestamp?, Linus Torvalds, (Mon Mar 5, 2:50 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 3:02 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 3:25 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 3:29 pm)
Re: Git checkout preserve timestamp?, Linus Torvalds, (Mon Mar 5, 3:37 pm)
Re: Git checkout preserve timestamp?, Matthieu Moy, (Mon Mar 5, 3:39 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 3:56 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 4:20 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 4:27 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 4:32 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 4:38 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 4:50 pm)
Re: Git checkout preserve timestamp?, Martin Langhoff, (Mon Mar 5, 5:06 pm)
Re: Git checkout preserve timestamp?, Michael Poole, (Mon Mar 5, 5:06 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 5:20 pm)
Re: Git checkout preserve timestamp?, Theodore Tso, (Mon Mar 5, 5:21 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 5:24 pm)
Re: Git checkout preserve timestamp?, Junio C Hamano, (Mon Mar 5, 5:32 pm)
Re: Git checkout preserve timestamp?, Michael Poole, (Mon Mar 5, 5:37 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 6:34 pm)
Re: Git checkout preserve timestamp?, Johannes Schindelin, (Mon Mar 5, 6:40 pm)
Re: Git checkout preserve timestamp?, Bill Lear, (Mon Mar 5, 6:59 pm)