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: Add an empty directory?
Date: Sat, 13 Aug 2005 12:45:38 -0700	[thread overview]
Message-ID: <7v64u9mxi5.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20050813180008.GJ5608@pasky.ji.cz> (Petr Baudis's message of "Sat, 13 Aug 2005 20:00:08 +0200")

Petr Baudis <pasky@suse.cz> writes:

> the object databases supports it, but the index file does not. But yes,
> it should be supported, I think.

I think if this is done correctly "read-tree -m -u" two-tree
switch could even remove directories that existed in the old
tree but not in the new tree that has become empty.

On the other hand, although I haven't started looking, adding
this to index file might involve a major surgery.  Practically
everybody expects it is does not have an directory entry.  This
includes reading trees, merging two or more stages, finding
directory/file conflicts, etc. etc...

      parent reply	other threads:[~2005-08-13 19:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-13 17:30 Add an empty directory? Carl Baldwin
2005-08-13 18:00 ` Petr Baudis
2005-08-13 18:19   ` Carl Baldwin
2005-08-13 19:41     ` Linus Torvalds
2005-08-13 19:55       ` Petr Baudis
2005-08-13 20:10       ` Carl Baldwin
2005-08-13 19:45   ` Junio C Hamano [this message]

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=7v64u9mxi5.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.