From: Dave Jones <davej@redhat.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: git@vger.kernel.org
Subject: Re: Fwd: Re: git checkout -f branch doesn't remove extra files
Date: Sat, 13 Aug 2005 01:27:32 -0400 [thread overview]
Message-ID: <20050813052731.GC11456@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0508122151120.19049@g5.osdl.org>
On Fri, Aug 12, 2005 at 10:05:11PM -0700, Linus Torvalds wrote:
> HOWEVER, if all you want to do is just a tar-file, then there's a better
> solution. It's called
>
> snap=git-snapshot-$(date +"%Y%m%d")
> git-tar-tree HEAD $snap | gzip -9 > $snap.tar.gz
>
> which is even easier, and a hell of a lot more efficient.
Nice. That takes noticably less time to create the sparse/git snapshots
compared to my crappy old script. And its now less than half the size.
I'm sold.
> Git actually has a _lot_ of nifty tools. I didn't realize that people
> didn't know about such basic stuff as "git-tar-tree" and "git-ls-files".
Maybe its because things are moving so fast :) Or maybe I just wasn't
paying attention on that day. (I even read the git changes via RSS,
so I should have no excuse).
Dave
next prev parent reply other threads:[~2005-08-13 5:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-13 4:17 Fwd: Re: git checkout -f branch doesn't remove extra files Dave Jones
2005-08-13 5:05 ` Linus Torvalds
2005-08-13 5:27 ` Dave Jones [this message]
2005-08-13 5:39 ` Linus Torvalds
2005-08-13 5:33 ` Linus Torvalds
2005-08-13 11:00 ` Petr Baudis
2005-08-13 12:10 ` Sergey Vlasov
2005-08-13 12:33 ` Petr Baudis
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=20050813052731.GC11456@redhat.com \
--to=davej@redhat.com \
--cc=git@vger.kernel.org \
--cc=torvalds@osdl.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.