git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Yakov Lerner <iler.ml@gmail.com>
Cc: no To-header on input <""@pop.gmx.net>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: adding file by absolute name -- problem
Date: Mon, 23 Apr 2007 12:51:31 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0704231247480.8822@racer.site> (raw)
In-Reply-To: <f36b08ee0704230330if89d417udefb8e50062d5a05@mail.gmail.com>

Hi,

On Mon, 23 Apr 2007, Yakov Lerner wrote:

> CVS did not accept absolute pathnames, and SVN does. It is really convenient.

I do not feel very comfortable with the thought. If you have symbolic 
links somewhere along the path, it is easy to get wrong.

This line of thought got me confused: would

$ ln -s /tmp x
$ touch x/y
$ git add x/y

work?

*clicketyclick*

Yes, it does. It ignores the fact that x is not a directory, but a 
symbolic link. Lots of opportunities to shoot yourself in the foot.

Think about the consequences of doing something like this in one 
repository, where "x" points into another one...

Ciao,
Dscho

  parent reply	other threads:[~2007-04-23 10:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23  9:39 adding file by absolute name -- problem Yakov Lerner
2007-04-23 10:04 ` Junio C Hamano
2007-04-23 10:16 ` Johannes Schindelin
2007-04-23 10:30   ` Yakov Lerner
2007-04-23 10:32     ` Yakov Lerner
2007-04-23 10:51     ` Johannes Schindelin [this message]
2007-04-23 11:02     ` Julian Phillips
2007-04-23 13:39   ` Carlos Rica
2007-04-23 14:23     ` Johannes Schindelin

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=Pine.LNX.4.64.0704231247480.8822@racer.site \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=iler.ml@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).