From: Carl Baldwin <cnb@fc.hp.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Carl Baldwin <cnb@fc.hp.com>, Petr Baudis <pasky@suse.cz>,
git@vger.kernel.org
Subject: Re: Add an empty directory?
Date: Sat, 13 Aug 2005 14:10:26 -0600 [thread overview]
Message-ID: <20050813201026.GA21096@hpsvcnb.fc.hp.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0508131238150.3553@g5.osdl.org>
On Sat, Aug 13, 2005 at 12:41:45PM -0700, Linus Torvalds wrote:
>
>
> On Sat, 13 Aug 2005, Carl Baldwin wrote:
> >
> > The bottom line is that I don't really see many situations where it is
> > absolutely necessary but it is a convenience. Not supporting it may
> > seem like an artificial limit that really didn't need to be there.
>
> Well, there is an argument for not supporting it, namely that the way
> patches work, traditionally a directory that became empty is deleted
> (because patches have no way of saying "remove directory" or "create
> directory").
>
> So a system where the existence of a directory flows from the existence of
> the files within the directory will automatically always do the right
> thing with patches floating around.
I see your point here. However, if git supported it then any particular
usage model on top of git could choose to do it either way. If it
doesn't then that flexibility is not there.
> Which is a big deal for me, since most of the kernel development still
> ends up being done with patches. Yes, we merge things with git, but a lot
> of the development is about passing patches around for review and
> commentary.
>
> And the thing is, you can always create the directory in your workspace.
> Git won't care, and won't know about it, but there's really no downside to
> it.
>
> Linus
>
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Carl Baldwin Systems VLSI Laboratory
Hewlett Packard Company
MS 88 work: 970 898-1523
3404 E. Harmony Rd. work: Carl.N.Baldwin@hp.com
Fort Collins, CO 80525 home: Carl@ecBaldwin.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
next prev parent reply other threads:[~2005-08-13 20:10 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 [this message]
2005-08-13 19:45 ` Junio C Hamano
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=20050813201026.GA21096@hpsvcnb.fc.hp.com \
--to=cnb@fc.hp.com \
--cc=git@vger.kernel.org \
--cc=pasky@suse.cz \
--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 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).