Git - Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)

Justin Sherrill justin at shiningsilence.com
Mon Jan 9 05:55:28 PST 2012


That's weird, since you have a .git directory there.  Google queries
suggest "rm .git/index && git reset" but that seems to be from
something that was fixed in an older version of Git.

You could delete the files in /usr/src, including the .git*
directories, and re-download using the Makefile in /usr.  'cd /usr;
make src-create' (or src-create-shallow to save some time.)  You may
want to check that part of the Makefile to be sure it's downloading
the version of DragonFly you want - 2.10 or master.

Be careful - both of the things I suggested there are destructive, so
if they don't work, you'd need to restore files from history to get it
back to the same state.

On Mon, Jan 9, 2012 at 1:19 AM, Siju George <sgeorge.ml at gmail.com> wrote:
> Hi,
>
> I have my /usr/src mounted on a PFS
>
> /pfs/@@-1:00012           443G   195G   248G    44%    /usr/src
>
> I am not able to update git
>
>
> dfly-bkpsrv1# pwd
> /usr/src
> dfly-bkpsrv1# ls
> .git                    README                  games                   sbin
>                    usr.bin
> .gitignore              UPDATING                gnu
> secure                  usr.sbin
> COPYRIGHT               bin                     include
> share
> Makefile                contrib                 lib                     sys
> Makefile.inc1           crypto                  libexec                 test
> Makefile_upgrade.inc    etc                     nrelease
>  tools
> dfly-bkpsrv1# git pull
> fatal: Not a git repository (or any parent up to mount parent /usr)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
>
>
> lease help fix :-)
>
> Thanks
>
> Siju





More information about the Users mailing list