git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Anthony Sottile <asottile@umich.edu>
To: Jack Adrian Zappa <adrianh.bsc@gmail.com>
Cc: "Torsten Bögershausen" <tboegi@web.de>,
	"Johannes Sixt" <j6t@kdbg.org>,
	"Git Mailing List" <git@vger.kernel.org>
Subject: Re: `git add <<windows 8.3 path to file inside repo>>` results in "fatal: ... is outside repository"
Date: Mon, 11 Mar 2019 13:13:14 -0700	[thread overview]
Message-ID: <CA+dzEB=oKhd5O7bhWLNvvYM9eyht7SO1LkY5Sy=tEFhCCZzfDQ@mail.gmail.com> (raw)
In-Reply-To: <CAKepmajVk27nHAzbuHitowyo11HvqSNfwfcg3kOp9DXDLe8FOA@mail.gmail.com>

On Mon, Mar 11, 2019 at 12:34 PM Jack Adrian Zappa
<adrianh.bsc@gmail.com> wrote:
>
> Hey Anthony,
>
> Are you sure that you have 8.3 active on the partition you are using?
> IIRC, It is not on by default anymore.  To see, go to a cmd line and
> type "dir /x".  If there are any files that exceed the 8.3 format, it
> will show those files with two names, the 8.3 name and the long name.
>
> If it is off and you want to turn it on, see
> https://support.microsoft.com/en-ca/help/121007/how-to-disable-8-3-file-name-creation-on-ntfs-partitions.
> and https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/ff621566(v=ws.11)
> for more information.
>
>
> A
>

Yes, it appears they are enabled -- see below


C:\Users\IEUser\AppData\Local\Temp\t\longname-repo>git add
C:\Users\IEUser\AppData\Local\Temp\t\longna~1\f
fatal: C:\Users\IEUser\AppData\Local\Temp\t\longna~1\f:
'C:\Users\IEUser\AppData\Local\Temp\t\longna~1\f' is outside
repository

C:\Users\IEUser\AppData\Local\Temp\t\longname-repo>git add
C:\Users\IEUser\AppData\Local\Temp\t\longname-repo\f

C:\Users\IEUser\AppData\Local\Temp\t\longname-repo>dir /x ..
 Volume in drive C has no label.
 Volume Serial Number is 3A97-874F

 Directory of C:\Users\IEUser\AppData\Local\Temp\t

03/11/2019  01:11 PM    <DIR>                       .
03/11/2019  01:11 PM    <DIR>                       ..
03/11/2019  01:11 PM    <DIR>          LONGNA~1     longname-repo
               0 File(s)              0 bytes
               3 Dir(s)  20,063,666,176 bytes free

  reply	other threads:[~2019-03-11 20:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-10 22:41 `git add <<windows 8.3 path to file inside repo>>` results in "fatal: ... is outside repository" Anthony Sottile
2019-03-11 17:48 ` Johannes Sixt
2019-03-11 17:53   ` Anthony Sottile
2019-03-11 17:55   ` Torsten Bögershausen
2019-03-11 18:16     ` Anthony Sottile
2019-03-11 19:34       ` Jack Adrian Zappa
2019-03-11 20:13         ` Anthony Sottile [this message]
2019-03-12 22:49         ` 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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+dzEB=oKhd5O7bhWLNvvYM9eyht7SO1LkY5Sy=tEFhCCZzfDQ@mail.gmail.com' \
    --to=asottile@umich.edu \
    --cc=adrianh.bsc@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=j6t@kdbg.org \
    --cc=tboegi@web.de \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).