<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/diff-no-index.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-06-27T17:06:51Z</updated>
<entry>
<title>string_list: Fix argument order for string_list_insert</title>
<updated>2010-06-27T17:06:51Z</updated>
<author>
<name>Julian Phillips</name>
<email>julian@quantumfyre.co.uk</email>
</author>
<published>2010-06-25T23:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=78a395d371ec9fd14297178ec98b8b1042a64fb6'/>
<id>urn:sha1:78a395d371ec9fd14297178ec98b8b1042a64fb6</id>
<content type='text'>
Update the definition and callers of string_list_insert to use the
string_list as the first argument.  This helps make the string_list
API easier to use by being more consistent.

Signed-off-by: Julian Phillips &lt;julian@quantumfyre.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>test get_git_work_tree() return value for NULL</title>
<updated>2010-05-25T16:28:51Z</updated>
<author>
<name>Clemens Buchacher</name>
<email>drizzd@aon.at</email>
</author>
<published>2010-05-22T12:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4e1f87959c76455f0092a7c82aee78df60533ae5'/>
<id>urn:sha1:4e1f87959c76455f0092a7c82aee78df60533ae5</id>
<content type='text'>
If we are in a git directory, get_git_work_tree() can return NULL.
While trying to determine whether or not the given paths are outside
the work tree, the following command would read from it anyways and
trigger a segmentation fault.

 git diff / /

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>diff --no-index: make the usage string less scary</title>
<updated>2009-11-10T20:00:21Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2009-11-09T15:05:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d74bb308fa9e49e0a5b9a0792e6079bbc0c8aea8'/>
<id>urn:sha1:d74bb308fa9e49e0a5b9a0792e6079bbc0c8aea8</id>
<content type='text'>
Start the diff --no-index usage string with "usage:" instead of
"fatal:".

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix a bunch of pointer declarations (codestyle)</title>
<updated>2009-05-01T22:17:31Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2009-05-01T09:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4b25d091ba53c758fae0096b8c0662371857b9d9'/>
<id>urn:sha1:4b25d091ba53c758fae0096b8c0662371857b9d9</id>
<content type='text'>
Essentially; s/type* /type */ as per the coding guidelines.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2009-03-28T08:16:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-28T08:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b0085a716770d9d2876edd74c6119c48d9d6f232'/>
<id>urn:sha1:b0085a716770d9d2876edd74c6119c48d9d6f232</id>
<content type='text'>
* maint:
  test-lib: Clean up comments and Makefile.
  diff --no-index: Do not generate patch output if other output is requested
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.6.1' into maint</title>
<updated>2009-03-28T07:41:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-28T07:41:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9d5156496d2d32800df52fa372295c16ab2578f0'/>
<id>urn:sha1:9d5156496d2d32800df52fa372295c16ab2578f0</id>
<content type='text'>
* maint-1.6.1:
  test-lib: Clean up comments and Makefile.
  diff --no-index: Do not generate patch output if other output is requested
</content>
</entry>
<entry>
<title>diff --no-index: Do not generate patch output if other output is requested</title>
<updated>2009-03-25T19:15:30Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2009-03-25T17:19:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5d83f9c19810229bb765ef63864e4f252e83ad61'/>
<id>urn:sha1:5d83f9c19810229bb765ef63864e4f252e83ad61</id>
<content type='text'>
Previously, 'git diff --no-index --stat a b' generated patch output in
addition to the --stat output (or whatever other output format was
requested). Now only the requested output is generated, and patch
output remains the default.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MinGW: fix diff --no-index /dev/null ...</title>
<updated>2009-03-08T04:36:16Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2009-03-07T15:51:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=36adb4abbdf809371b88581c8bf7fe9ea9a5b00a'/>
<id>urn:sha1:36adb4abbdf809371b88581c8bf7fe9ea9a5b00a</id>
<content type='text'>
When launching "diff --no-index" with a parameter "/dev/null", the MSys
bash converts the "/dev/null" to a "nul", which usually makes sense.  But

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2009-02-18T19:31:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-18T19:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=25487f8e2ae266936df0f807ae79dca41606e404'/>
<id>urn:sha1:25487f8e2ae266936df0f807ae79dca41606e404</id>
<content type='text'>
* maint:
  tests: fix "export var=val"
  Skip timestamp differences for diff --no-index
  Documentation/git-push: --all, --mirror, --tags can not be combined
</content>
</entry>
<entry>
<title>Skip timestamp differences for diff --no-index</title>
<updated>2009-02-18T18:55:33Z</updated>
<author>
<name>Michael Spang</name>
<email>mspang@uwaterloo.ca</email>
</author>
<published>2009-02-18T06:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d61027b21f403a74ba16191756d22717a2e95bd4'/>
<id>urn:sha1:d61027b21f403a74ba16191756d22717a2e95bd4</id>
<content type='text'>
We display empty diffs for files whose timestamps have changed.
Usually, refreshing the index makes those empty diffs go away.
However, when not using the index they are not very useful and
there is no option to suppress them.

This forces on the skip_stat_unmatch option for diff --no-index,
suppressing any empty diffs. This option is also used for diffs
against the index when "diff.autorefreshindex" is set, but that
option does not apply to diff --no-index.

Signed-off-by: Michael Spang &lt;mspang@uwaterloo.ca&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
