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

Modified files directly after clone

From
BKBenedikt Andreas Koeppel <bkoeppel@ee.ethz.ch>
Date
Mar 9, 2010, 20:26 UTC
Message-ID
<7416BCB6-306F-4BC1-913C-1208746DA93E@ee.ethz.ch>
Dear Sir/Madam,
I'm experiencing a strange problem with one of my GIT repositories. The repo is hosted on my Debian 5 server with gitosis. I clone the repo to my Mac OS X 10.6 notebook. Directly after cloning the repository, there are already some modified files which are "Changed but not updated".
This is how I do it: 

==== bash start ==== beninb:Desktop beni$ mkdir tmp beninb:Desktop beni$ cd tmp beninb:tmp beni$ git clone git@gmuasch:ife-maemo.git git Initialized empty Git repository in /Users/beni/Desktop/tmp/git/.git/ remote: Counting objects: 43316, done. remote: Compressing objects: 100% (33045/33045), done. remote: Total 43316 (delta 10942), reused 42064 (delta 9790) Receiving objects: 100% (43316/43316), 518.25 MiB | 640 KiB/s, done. Resolving deltas: 100% (10942/10942), done. Checking out files: 100% (68385/68385), done. beninb:tmp beni$ cd git/ beninb:git beni$ git status # On branch master # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: source/crn/toolbox/doc/html/classVector.html # modified: source/maemo-beagle/www/files/maemo5-alpha/kernel-2.6.28/Documentation/IO-mapping.txt # some more lines # modified: source/maemo-beagle/www/files/maemo5-alpha/kernel-2.6.28/net/netfilter/xt_TCPMSS.c # modified: source/maemo-kernel/kernel-2.6.28/Documentation/IO-mapping.txt # some more lines # modified: source/maemo-kernel/kernel-2.6.28/net/netfilter/xt_TCPMSS.c # no changes added to commit (use "git add" and/or "git commit -a")

==== bash end ====

"gmuasch" is an SSH-alias for my Debian server git diff gives the following: http://pastie.org/861916

On my server, I'm running git version 1.6.2.4. Locally on my Mac, I have git version 1.6.2. But there were some commits done from Ubuntu 9.10 with git 1.7.0.1.

Those folders are SVN checkouts: source/crn source/maemo-beagle But source/maemo-kernel is not a SVN checkout.

I tried the same procedure on a different machine (running Debian 5, git version 1.6.2.4), and did not have any modified files after cloning the repo. 
How can this happen? Does my Mac somehow interfere with the newly cloned repository?

Best Regards, Benedikt Köppel

Next: Tarmigan
Message 1 of 4 in “Modified files directly after clone”
  1. Benedikt Andreas KoeppelMar 9, 2010
  2. TarmiganMar 9, 2010
  3. Benedikt Andreas KoeppelMar 10, 2010
  4. tytso@mit.eduMar 10, 2010

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.