git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rogelio M. Serrano Jr." <rogelio@smsglobal.net>
To: git@vger.kernel.org
Subject: move directories in work dir
Date: Sun, 23 Oct 2005 13:44:54 +0800	[thread overview]
Message-ID: <6f22540448f7234336a00bce5b6547b6@Splinter> (raw)

Hi,

Sorry for asking but is there a way to tell git that i moved a 
directory into another? For example i have.

analyse
analyse/import_a
analyse/import_a/Rules.mk
analyse/import_a/import_a.c^[
analyse/import_b
analyse/import_b/Rules.mk
analyse/import_b/import_b.c

i make a new dir
analyse/import_tools

then move import_a and import_b in there and end up with:

analyse
analyse/import_tools/import_a
analyse/import_tools/import_a/Rules.mk
analyse/import_tools/import_a/import_a.c^[
analyse/import_tools/import_b
analyse/import_tools/import_b/Rules.mk
analyse/import_tools/import_b/import_b.c

right now i have to do git-update-index --add for everything all over 
again.

             reply	other threads:[~2005-10-23  5:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-23  5:44 Rogelio M. Serrano Jr. [this message]
2005-10-23  6:24 ` move directories in work dir Junio C Hamano
2005-10-23  6:53   ` Rogelio M. Serrano Jr.
2005-10-31  7:25   ` [PATCH] Add support for renaming multiple items at once, and for the destination to be a directory Ryan Anderson
2005-10-31  7:53     ` Peter Eriksen

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=6f22540448f7234336a00bce5b6547b6@Splinter \
    --to=rogelio@smsglobal.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).