Merge branch 'master' into next

* master:
  Git 1.7.2-rc3
  Use dev_t for device id (st_dev) from stat in setup_git_directory_gently()
This commit is contained in:
Junio C Hamano
2010-07-14 09:43:01 -07:00
2 changed files with 6 additions and 2 deletions

View File

@@ -145,8 +145,11 @@ release, unless otherwise noted.
* "git reset --hard" started from a wrong directory and a working tree in
a nonstandard location is in use got confused (560fb6a1).
* "git read-tree -m A B" used to switch to branch B while retaining
local changes added an incorrect cache-tree information (b1f47514).
--
exec >/var/tmp/1
O=v1.7.2-rc1-37-g2a16315
O=v1.7.2-rc2-17-gc9a9766
echo O=$(git describe HEAD)
git shortlog --no-merges HEAD ^maint ^$O

View File

@@ -323,7 +323,8 @@ const char *setup_git_directory_gently(int *nongit_ok)
const char *gitdirenv;
const char *gitfile_dir;
int len, offset, ceil_offset, root_len;
int current_device = 0, one_filesystem = 1;
dev_t current_device = 0;
int one_filesystem = 1;
struct stat buf;
/*