git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Anatol Pomozov" <anatol.pomozov@gmail.com>
To: "Liu Yubao" <yubao.liu@gmail.com>
Cc: "Ping Yin" <pkufranky@gmail.com>,
	"Git Mailing List" <git@vger.kernel.org>
Subject: Re: why still no empty directory support in git
Date: Wed, 31 Dec 2008 18:50:16 -0800	[thread overview]
Message-ID: <3665a1a00812311850p59f0f5e7ode1853d26c30b26@mail.gmail.com> (raw)
In-Reply-To: <4959BB07.6000106@gmail.com>

Hi

On Mon, Dec 29, 2008 at 10:09 PM, Liu Yubao <yubao.liu@gmail.com> wrote:
>
> Ping Yin wrote:
> > Yes, i know this topic has been discussed for many times. However, i
> > am still not clear about the real reason.
> >
> > So which is the reason?
> >
> > 1. it's by design, intentional
> It's saied somewhere git is a "stupid content tracker", it cares file content
> not file name, and empty directories will complicate the merge algorithm
> unnecessarily.

Could you please explain how will it complicate merging. What is the
difference between merging 2 directories with 0 and 5 files and
merging 2 directories with 5 and 10 files?

+1 that git should respect empty directories. Git should handle file
content and not decide for user does he want to keep empty directory
in the source tree or not.

--
anatol

  reply	other threads:[~2009-01-01  2:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-30  3:42 why still no empty directory support in git Ping Yin
2008-12-30  5:10 ` Asheesh Laroia
2008-12-30  5:28   ` Jeff Whiteside
2008-12-30  6:58     ` Robin Rosenberg
2008-12-30  7:45       ` Junio C Hamano
2008-12-30 15:36       ` Ping Yin
2008-12-30  6:25   ` Asheesh Laroia
2008-12-30  8:43     ` demerphq
2008-12-30  8:58       ` Asheesh Laroia
2008-12-31  1:06         ` David Brown
2009-01-01 20:06         ` Jeff King
2009-01-02 18:55           ` Johannes Schindelin
2009-01-02 21:31             ` Asheesh Laroia
2009-01-08  7:12           ` Asheesh Laroia
2008-12-30  6:09 ` Liu Yubao
2009-01-01  2:50   ` Anatol Pomozov [this message]
2008-12-30 12:09 ` Johannes Schindelin
2008-12-30 14:21   ` Michael Gaber

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=3665a1a00812311850p59f0f5e7ode1853d26c30b26@mail.gmail.com \
    --to=anatol.pomozov@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pkufranky@gmail.com \
    --cc=yubao.liu@gmail.com \
    /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).