Problem with git for SMB mounted repo's: works on cygwin 1.5, does not work on cygwin 1.7.

Tim O'Callaghan timo@dspsrv.com
Fri Jun 26 02:12:00 GMT 2009


Not sure what to do about giving any more useful information, other
than I'm fairly certain its not a git specific problem.

The git status operation does work under 1.7 if i move the repo to my
local hard disk.

Below are snippets of output that should explain and help re-create
the problem.

Tim.

---------------on git 1.7-----------------
/cygdrive/w>git clone http://git.el-tramo.be/wigit.git wigit
Initialized empty Git repository in /cygdrive/w/wigit/.git/
got 4cc01dcdba11f955df04c0afbf2fefc092683fd0
............. snip git checkout.... .........
got bdb42af6fa96e1a12cea3b71934e30ec05d4bb33
/cygdrive/w>cd wigit/
/cygdrive/w/wigit>git status
fatal: Not a git repository (or any of the parent directories): .git
/cygdrive/w/wigit>ls -l
total 7168
  0 drwx------ 3 ???????? ????????     0 Jun 26 02:38 ./
  0 drwxrwxrwx 1 ???????? ????????     0 Jun 26 02:22 ../
  0 drwx------ 1 ???????? ????????     0 Jun 26 02:38 .git/
1024 -rw--w--w- 1 ???????? ????????    36 Jun 26 02:38 AUTHORS
1024 -rw--w--w- 1 ???????? ????????   611 Jun 26 02:38 COPYING
1024 -rw--w--w- 1 ???????? ????????  2398 Jun 26 02:38 README
1024 -rw--w--w- 1 ???????? ????????   151 Jun 26 02:38 TODO
1024 -rw--w--w- 1 ???????? ???????? 33884 Jun 26 02:38 classTextile.php
1024 -rw--w--w- 1 ???????? ????????  1072 Jun 26 02:38 config.php.sample
1024 -rw--w--w- 1 ???????? ????????  9671 Jun 26 02:38 index.php
  0 drwx------ 1 ???????? ????????     0 Jun 26 02:38 themes/
/cygdrive/w/wigit>cd ~/tmp
/cygdrive/c/home/tim/tmp>gcc -g -o GetVolInfo GetVolInfo.c -lntdll
GetVolInfo.c: In function `main':
GetVolInfo.c:105: warning: `cygwin_conv_to_full_win32_path' is
deprecated (declared at /usr/include/sys/cygwin.h:52)
/cygdrive/c/home/tim/tmp>./GetVolInfo w:
ZwOpenFile(\??\C:\home\tim\tmp\w:) failed, c0000033
/cygdrive/c/home/tim/tmp>./GetVolInfo w:/
Device Type        : 6
Characteristics    : 10
Object Id          : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Extended Info      : Not Samba
                     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Volume Name        : <www>
Serial Number      : 667418949
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 2b
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : FALSE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : FALSE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : FALSE
  FILE_SUPPORTS_REPARSE_POINTS: FALSE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : FALSE
  FILE_SUPPORTS_ENCRYPTION    : FALSE
  FILE_NAMED_STREAMS          : FALSE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

-------------on git 1.5:-------------------
/cygdrive/c/home/tim>cd w:/wigit
/cygdrive/w/wigit>git status
# On branch master
nothing to commit (working directory clean)
/cygdrive/w/wigit>ls -l
total 7168
  0 drwx------ 3 tim None     0 Jun 26 02:38 ./
  0 drwx------ 1 tim None     0 Jun 26 02:22 ../
  0 drwx------ 1 tim None     0 Jun 26 02:41 .git/
1024 -rw------- 1 tim None    36 Jun 26 02:38 AUTHORS
1024 -rw------- 1 tim None   611 Jun 26 02:38 COPYING
1024 -rw------- 1 tim None  2398 Jun 26 02:38 README
1024 -rw------- 1 tim None   151 Jun 26 02:38 TODO
1024 -rw------- 1 tim None 33884 Jun 26 02:38 classTextile.php
1024 -rw------- 1 tim None  1072 Jun 26 02:38 config.php.sample
1024 -rw------- 1 tim None  9671 Jun 26 02:38 index.php
  0 drwx------ 1 tim None     0 Jun 26 02:38 themes/
/cygdrive/c/home/tim>cd ~/tmp
/cygdrive/c/home/tim/tmp>gcc -g -o GetVolInfo1 GetVolInfo.c -lntdll
/cygdrive/c/home/tim/tmp>./GetVolInfo1 w:/
Device Type        : 6
Characteristics    : 10
Object Id          : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Extended Info      : Not Samba
                     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Volume Name        : <www>
Serial Number      : 667418949
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 2b
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : FALSE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : FALSE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : FALSE
  FILE_SUPPORTS_REPARSE_POINTS: FALSE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : FALSE
  FILE_SUPPORTS_ENCRYPTION    : FALSE
  FILE_NAMED_STREAMS          : FALSE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE
/cygdrive/c/home/tim/tmp>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list