All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: Git checkout preserve timestamp?
Date: Tue, 06 Mar 2007 02:21:50 +0100	[thread overview]
Message-ID: <esifio$j4f$1@sea.gmane.org> (raw)
In-Reply-To: 7vo dn7w6rz.fsf@assigned-by-dhcp.cox.net

Junio C Hamano wrote:

> Michael Poole <mdpoole@troilus.org> writes:
> 
>> This all sounds a lot like git-clone's "alternate" code.
>> ...
>> My own work habits are very similar to Bill Lear's, but my projects'
>> build times are small enough that it's less pain to rebuild half the
>> project than to propagate changes recorded under $GIT_DIR between
>> local branches.  I have not found a git workflow that makes me
>> entirely happy, but I suspect I just don't know the magic words.
> 
> These days I use a few working trees that are connected to my
> primary repository (which also has a working tree).  The primary
> repository is in /src/git, and other ones look like this:
> 
> : gitster git.wk0; ls -l .git/
> total 120
> drwxrwsr-x  3 junio src  4096 Mar  5 16:22 ./
> drwxrwsr-x 15 junio src 16384 Mar  5 16:23 ../
> -rw-rw-r--  1 junio src    41 Mar  5 16:22 HEAD
> lrwxrwxrwx  1 junio src    27 Mar  3 22:53 config -> /src/git/.git/config
> lrwxrwxrwx  1 junio src    26 Mar  3 22:53 hooks -> /src/git/.git/hooks/
> -rw-rw-r--  1 junio src 82455 Mar  5 16:22 index
> lrwxrwxrwx  1 junio src    25 Mar  3 22:53 info -> /src/git/.git/info/
> drwxrwsr-x  3 junio src  4096 Mar  3 22:59 logs/
> lrwxrwxrwx  1 junio src    28 Mar  3 22:53 objects -> /src/git/.git/objects/
> lrwxrwxrwx  1 junio src    32 Mar  3 22:53 packed-refs -> /src/git/.git/packed-refs
> lrwxrwxrwx  1 junio src    25 Mar  3 22:53 refs -> /src/git/.git/refs/
> lrwxrwxrwx  1 junio src    28 Mar  3 22:53 remotes -> /src/git/.git/remotes/
> lrwxrwxrwx  1 junio src    29 Mar  3 22:53 rr-cache -> /src/git/.git/rr-cache/

By the way, doing something like this, but not by using lots of symlinks,
but a kind of symref was idea behind Josef Weidendorfer .gitlink idea
(search for '[RFC] Light-weight checkouts via ".gitlink"')

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

  parent reply	other threads:[~2007-03-06  1:19 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 21:36 Git checkout preserve timestamp? Bill Lear
2007-03-01 21:48 ` Alex Riesen
2007-03-01 22:13 ` Johannes Schindelin
2007-03-01 22:25 ` Linus Torvalds
2007-03-01 22:32   ` Johannes Schindelin
2007-03-02  9:14 ` Karl Hasselström
2007-03-02 13:24   ` Bill Lear
2007-03-02 15:01     ` Bart Trojanowski
2007-03-02 15:18     ` Johannes Schindelin
2007-03-02 16:21       ` Karl Hasselström
2007-03-02 19:21         ` Johannes Schindelin
2007-03-05  7:23           ` Karl Hasselström
2007-03-05 11:32             ` Johannes Schindelin
2007-03-05 12:28               ` Karl Hasselström
2007-03-05 19:04               ` Bill Lear
2007-03-05 19:16                 ` Johannes Schindelin
2007-03-05 19:59                   ` Bill Lear
2007-03-05 20:44                     ` Johannes Schindelin
2007-03-05 21:42                       ` Bill Lear
2007-03-05 21:50                         ` Linus Torvalds
2007-03-05 22:03                           ` Matthieu Moy
2007-03-05 22:25                           ` Bill Lear
2007-03-05 22:37                             ` Linus Torvalds
2007-03-05 23:20                               ` Bill Lear
2007-03-05 23:32                                 ` Johannes Schindelin
2007-03-05 23:38                                   ` Bill Lear
2007-03-05 23:50                                     ` Johannes Schindelin
2007-03-06  0:06                                       ` Michael Poole
2007-03-06  0:20                                         ` Johannes Schindelin
2007-03-06  0:37                                           ` Michael Poole
2007-03-06  1:40                                             ` Johannes Schindelin
2007-03-06  0:32                                         ` Junio C Hamano
2007-03-06 18:39                                           ` Sergio Callegari
     [not found]                                         ` <7vo dn7w6rz.fsf@assigned-by-dhcp.cox.net>
2007-03-06  1:21                                           ` Jakub Narebski [this message]
2007-03-06  0:24                                       ` Bill Lear
2007-03-06  1:34                                         ` Johannes Schindelin
2007-03-06  1:59                                           ` Bill Lear
2007-03-06  0:06                                     ` Martin Langhoff
2007-03-06  0:21                                     ` Theodore Tso
2007-03-05 22:39                             ` Matthieu Moy
2007-03-05 22:56                             ` Johannes Schindelin
2007-03-05 23:27                               ` Bill Lear
2007-03-05 22:02                         ` Johannes Schindelin
2007-03-05 22:29                           ` Bill Lear
2007-03-05 12:13         ` Andy Parkins
2007-03-05 12:33           ` Karl Hasselström
2007-03-05 13:19             ` Andy Parkins
2007-03-05 14:53               ` Karl Hasselström
2007-03-05 14:46           ` Bill Lear
2007-03-05 16:01             ` Andy Parkins
2007-03-05 16:28               ` Bill Lear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='esifio$j4f$1@sea.gmane.org' \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.