All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Petr Baudis <pasky@suse.cz>
Cc: git@vger.kernel.org
Subject: Re: Tracking CVS
Date: Thu, 22 Jun 2006 10:05:10 -0700	[thread overview]
Message-ID: <7vveqtp1dl.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20060622135831.GB21864@pasky.or.cz> (Petr Baudis's message of "Thu, 22 Jun 2006 15:58:31 +0200")

Petr Baudis <pasky@suse.cz> writes:

> If you want to be safe even with filenames containing newlines, you need
> to go at the Git level:
>
> 	git-ls-files -z --others | \
> 		xargs -0 git-update-index --add --

If you want to avoid "xargs -0", you can replace it with
"git-update-index -z --stdin" I think.

> Perhaps we might make a special command which would sync the index set
> with the working copy set...

I think that makes sense.  Something like what "git-commit -a"
does before making a commit.

  parent reply	other threads:[~2006-06-22 17:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22 12:41 Tracking CVS Jon Smirl
2006-06-22 13:58 ` Petr Baudis
2006-06-22 14:17   ` Jon Smirl
2006-07-19 12:38     ` Petr Baudis
2006-06-22 17:05   ` Junio C Hamano [this message]
2006-06-22 17:14     ` Jakub Narebski
2006-06-22 17:43       ` Junio C Hamano
2006-06-23  2:18   ` Jon Smirl
2006-06-23  2:24     ` Jon Smirl
2006-06-23  2:31     ` Petr Baudis
2006-06-23 18:14       ` Jon Smirl

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=7vveqtp1dl.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=pasky@suse.cz \
    /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.