<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/setup.c, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-07-20T18:29:30Z</updated>
<entry>
<title>Merge branch 'maint'</title>
<updated>2010-07-20T18:29:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-20T18:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f7baac1e34440d3805ef488c97af748f3c20640'/>
<id>urn:sha1:5f7baac1e34440d3805ef488c97af748f3c20640</id>
<content type='text'>
* maint:
  t/README: clarify test_must_fail description
  Check size of path buffer before writing into it

Conflicts:
	t/README
</content>
</entry>
<entry>
<title>Check size of path buffer before writing into it</title>
<updated>2010-07-20T16:17:39Z</updated>
<author>
<name>Greg Brockman</name>
<email>gdb@MIT.EDU</email>
</author>
<published>2010-07-20T04:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3c9d0414ed2db0167e6c828b547be8fc9f88fccc'/>
<id>urn:sha1:3c9d0414ed2db0167e6c828b547be8fc9f88fccc</id>
<content type='text'>
This prevents a buffer overrun that could otherwise be triggered by
creating a file called '.git' with contents

  gitdir: (something really long)

Signed-off-by: Greg Brockman &lt;gdb@mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Use dev_t for device id (st_dev) from stat in setup_git_directory_gently()</title>
<updated>2010-07-14T14:57:08Z</updated>
<author>
<name>Raja R Harinath</name>
<email>harinath@hurrynot.org</email>
</author>
<published>2010-07-13T09:02:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c7d1d1b1329a104d2f7fe6307da4344288bc8e01'/>
<id>urn:sha1:c7d1d1b1329a104d2f7fe6307da4344288bc8e01</id>
<content type='text'>
The original declaration was int, which seems to cause trouble on my
machine.  It causes spurious "filesystem boundary" errors when running
the testsuite.  The cause seems to be

  $ stat -c%d .
  2147549952

which is too large for a 32-bit int type.

Using the correct type, dev_t, solves the issue.  (Because I'm
paranoid and forgetful, I checked -- yes, Unix v7 had dev_t.)

Other uses of st_dev seem to be reasonably safe.   fill_stat_cache_info
truncates it to an 'unsigned int', but that value seems to be used only
to validate the cache, and only if USE_STDEV is defined.

Signed-off-by: Raja R Harinath &lt;harinath@hurrynot.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2010-06-07T01:42:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-07T01:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=624016114ed96ebdbd896c51d68f15790d834042'/>
<id>urn:sha1:624016114ed96ebdbd896c51d68f15790d834042</id>
<content type='text'>
* maint:
  setup: document prefix
</content>
</entry>
<entry>
<title>setup: document prefix</title>
<updated>2010-06-05T15:41:39Z</updated>
<author>
<name>Clemens Buchacher</name>
<email>drizzd@aon.at</email>
</author>
<published>2010-06-05T08:04:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e1e5ec868fab6f8131e8b228f1d6d543b7501933'/>
<id>urn:sha1:e1e5ec868fab6f8131e8b228f1d6d543b7501933</id>
<content type='text'>
Signed-off-by: Clemens Buchacher &lt;drizzd@aon.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Rename ONE_FILESYSTEM to DISCOVERY_ACROSS_FILESYSTEM</title>
<updated>2010-04-04T22:55:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-04-04T21:49:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cf87463e79a3018f666bfc9af113d3eea58a3d82'/>
<id>urn:sha1:cf87463e79a3018f666bfc9af113d3eea58a3d82</id>
<content type='text'>
If a missing ONE_FILESYSTEM defaults to true, the only users who set this
variable set it to false to tell git not to limit the discovery to one
filesystem; there are too many negations in one sentence to make a simple
panda brain dizzy.

Use the variable GIT_DISCOVERY_ACROSS_FILESYSTEM that changes the
behaviour from the default "limit to one filesystem" to "cross the
boundary as I ask you to"; makes the semantics much more straight
forward.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>GIT_ONE_FILESYSTEM: flip the default to stop at filesystem boundaries</title>
<updated>2010-04-04T17:33:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-04-04T17:33:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e640551773c9730a47779dfc93155feb092c8e3c'/>
<id>urn:sha1:e640551773c9730a47779dfc93155feb092c8e3c</id>
<content type='text'>
Regarding the new environment variable, Linus Torvalds
&lt;torvalds@linux-foundation.org&gt; writes on Tue, 30 Mar 2010 in
&lt;alpine.LFD.2.00.1003301537150.3707@i5.linux-foundation.org&gt;:

    I suspect that it is _very_ unusual to have a source repo that crosses
    multiple filesystems, and the original reason for this patch-series
    seems to me to be likely to be more common than that multi-fs case. So
    having the logic go the other way would seem to match the common case,
    no?

The "crossing filesystem boundary" condition is checked by comparing
st_dev field in the result from stat(2).  This is slightly worrysome if
non-POSIX ports return different values in the field even for directories
in the same work tree extracted to the same "filesystem".  Erik Faye-Lund
confirms that in the msysgit port st_dev is 0, so this should be safe, as
"even Windows is safe" ;-)

This will affect those who use /.git to cram /etc and /home/me in the same
repostiory, /home is mounted from non-root filesystem, and a git operation
is done from inside /home/me/src.  But that is such a corner case we don't
want to give preference over helping people who will benefit from having
this default so that they do not have to suffer from slow automounters.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add support for GIT_ONE_FILESYSTEM</title>
<updated>2010-03-28T16:43:20Z</updated>
<author>
<name>Lars R. Damerow</name>
<email>lars@pixar.com</email>
</author>
<published>2010-03-17T19:55:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8030e44215fe8f34edd57d711a35f2f0f97a0423'/>
<id>urn:sha1:8030e44215fe8f34edd57d711a35f2f0f97a0423</id>
<content type='text'>
This patch makes git pay attention to the GIT_ONE_FILESYSTEM environment
variable. When that variable is set, git will stop searching for a
GIT_DIR when it attempts to cross a filesystem boundary.

When working in an environment with too many automount points to make
maintaining a GIT_CEILING_DIRECTORIES list enjoyable, GIT_ONE_FILESYSTEM
gives the option of turning all such attempts off with one setting.

Signed-off-by: Lars R. Damerow &lt;lars@pixar.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>truncate cwd string before printing error message</title>
<updated>2010-03-28T16:19:11Z</updated>
<author>
<name>Lars R. Damerow</name>
<email>lars@pixar.com</email>
</author>
<published>2010-03-17T19:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=502ffe3491bb6a3aff3f93e7eea19c01cf30c337'/>
<id>urn:sha1:502ffe3491bb6a3aff3f93e7eea19c01cf30c337</id>
<content type='text'>
Without this truncation the error message printed only shows the cwd
from the start of the search, not where it failed.

Signed-off-by: Lars R. Damerow &lt;lars@pixar.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/root-git'</title>
<updated>2010-03-07T20:47:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-03-07T20:47:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c2b456b8956c2091318edaee362119e0e96b86b7'/>
<id>urn:sha1:c2b456b8956c2091318edaee362119e0e96b86b7</id>
<content type='text'>
* nd/root-git:
  Add test for using Git at root of file system
  Support working directory located at root
  Move offset_1st_component() to path.c
  init-db, rev-parse --git-dir: do not append redundant slash
  make_absolute_path(): Do not append redundant slash

Conflicts:
	setup.c
	sha1_file.c
</content>
</entry>
</feed>
