git status is taking hell of a long time, around 1 min, and i'm giving the status at a local folder. i know git tries to get the status of the whole repo. so in order to know what git status is doing, i tried with strace, the following output is been dumped in the screen continously. It seems that the git is trying to open .gitignore file in each and every folder of the repository, why is git doing that ?
open("/e_tf/node/ved/include/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 15 fstat(15, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fcntl(15, F_SETFD, FD_CLOEXEC) = 0 getdents(15, /* 4 entries */, 4096) = 112 open("/e_tf/node/ved/include/.gitignore", O_RDONLY) = -1 ENOENT (No such file or directory) getdents(15, /* 0 entries */, 4096) = 0 close(15) = 0 open("/e_tf/node/ved/src/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 15 fstat(15, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fcntl(15, F_SETFD, FD_CLOEXEC) = 0 getdents(15, /* 13 entries */, 4097) = 416 open("/e_tf/node/ved/src/.gitignore", O_RDONLY) = -1 ENOENT (No such file or directory) getdents(15, /* 0 entries */, 4096) = 0 close(15) = 0 getdents(14, /* 0 entries */, 4096) = 0 close(14) = 0 open("/e_tf/node/drvr/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 14 fstat(14, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fcntl(14, F_SETFD, FD_CLOEXEC) = 0 getdents(14, /* 7 entries */, 4096) = 200 open("/e_tf/node/drvr/.gitignore", O_RDONLY) = -1 ENOENT (No such file or directory) open("/e_tf/node/drvr/bld/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 15 fstat(15, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fcntl(15, F_SETFD, FD_CLOEXEC) = 0 getdents(15, /* 4 entries */, 4096) = 104 open("/e_tf/node/drvr/bld/.gitignore", O_RDONLY) = -1 ENOENT (No such file or directory) open("/e_tf/node/drvr/bld/win/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 16 fstat(16, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fcntl(16, F_SETFD, FD_CLOEXEC) = 0 getdents(16, /* 3 entries */, 4096) = 88 open("e_tf/node/drvr/bld/win/.gitignore", O_RDONLY) = -1 ENOENT (No such file or directory) getdents(16, /* 0 entries */, 4096) = 0 close(16) = 0 getdents(15, /* 0 entries */, 4096) = 0 close(15) = 0 -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.