git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git and filesystem problems (ext3 and vfat)

From
IBIan Brown <ianbrn@gmail.com>
Date
Oct 16, 2008, 16:23 UTC
Message-ID
<d0383f90810160923m60ec95d8v8550a611f91176b6@mail.gmail.com>
In-Reply-To
<48F76936.3010801@drmicha.warpmail.net>

Hello, Thanks for you quick answer.

ls shows the files.

git status shows: fatal: Not a git repository Regards, IB

On Thu, Oct 16, 2008 at 6:17 PM, Michael J Gruber <git@drmicha.warpmail.net> wrote:

Show 44 quoted lines
> Ian Brown venit, vidit, dixit 16.10.2008 18:03:
>> Hello, ]
>>
>>  I have a diskOnKey which has a vfat filesystem.
>> I ran there:
>> git clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
>> the I copied all the wireless-2.6 folder to an ext3 partition.
>
> How did you copy it?
>
>> There I ran git diff.
>>
>> I get many messages like these (probably on all files of the repository):
>>
>> diff --git a/COPYING b/COPYING
>> deleted file mode 100644
>> index ca442d3..0000000
>> --- a/COPYING
>> +++ /dev/null
>> @@ -1,356 +0,0 @@
>> -
>>
>> and then all the lines of the file with "-" in the beginning, as if
>> they are empty.
>>
>> Why is it so ?
>> Is there any way to overcome it ?
>> Must I run "git clone" on an ext3 DiskOnKey only ?
>
> git diff gives you the difference between the index and the work tree.
> The index is the one you copied from vfat; git doesn't see the files on
> the ext3 work tree. Do you see them with ls?
>
> One by one I would try
>
> git status
> git reset
> git reset --hard
>
> in order to reconcile your index with your checkout. You probably need
> the last one.
>
> Michael
>
Previous: Michael J GruberNext: David Tweed
Message 3 of 5 in “git and filesystem problems (ext3 and vfat)”
  1. Ian BrownOct 16, 2008
  2. Michael J GruberOct 16, 2008
  3. Ian BrownOct 16, 2008
  4. David TweedOct 16, 2008
  5. David TweedOct 16, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.