<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/help.c, branch v1.7.3.5</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.3.5</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.3.5'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2010-02-16T02:20:54Z</updated>
<entry>
<title>Remove hyphen from "git-command" in two error messages</title>
<updated>2010-02-16T02:20:54Z</updated>
<author>
<name>Pete Harlan</name>
<email>pgit@pcharlan.com</email>
</author>
<published>2010-02-15T23:33:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7283bbc70a55d7364fbeaefc1009c03fcfc8d929'/>
<id>urn:sha1:7283bbc70a55d7364fbeaefc1009c03fcfc8d929</id>
<content type='text'>
Signed-off-by: Pete Harlan &lt;pgit@pcharlan.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>help.autocorrect: do not run a command if the command given is junk</title>
<updated>2009-12-16T00:21:51Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2009-12-15T07:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=06500a029953164a3110c705ae579ef43548d006'/>
<id>urn:sha1:06500a029953164a3110c705ae579ef43548d006</id>
<content type='text'>
If a given command is not found, then help.c tries to guess which one the
user could have meant. If help.autocorrect is 0 or unset, then a list of
suggestions is given as long as the dissimilarity between the given command
and the candidates is not excessively high. But if help.autocorrect was
non-zero (i.e., a delay after which the command is run automatically), the
latter restriction on dissimilarity was not obeyed.

In my case, this happened:

 $ git ..daab02
 WARNING: You called a Git command named '..daab02', which does not exist.
 Continuing under the assumption that you meant 'read-tree'
 in 4.0 seconds automatically...

The patch reuses the similarity limit that is also applied when the list of
suggested commands is printed.

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>Test for WIN32 instead of __MINGW32_</title>
<updated>2009-09-19T03:00:42Z</updated>
<author>
<name>Frank Li</name>
<email>lznuaa@gmail.com</email>
</author>
<published>2009-09-16T08:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=71064e3f86fbf2eb5c2b55a3024051f9542ae229'/>
<id>urn:sha1:71064e3f86fbf2eb5c2b55a3024051f9542ae229</id>
<content type='text'>
The code which is conditional on MinGW32 is actually conditional on Windows.
Use the WIN32 symbol, which is defined by the MINGW32 and MSVC environments,
but not by Cygwin.

Define SNPRINTF_SIZE_CORR=1 for MSVC too, as its vsnprintf function does
not add NUL at the end of the buffer if the result fits the buffer size
exactly.

Signed-off-by: Frank Li &lt;lznuaa@gmail.com&gt;
Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Avoid declaration after statement</title>
<updated>2009-09-19T03:00:41Z</updated>
<author>
<name>Frank Li</name>
<email>lznuaa@gmail.com</email>
</author>
<published>2009-09-16T08:20:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0d30ad71fa094dd89ae31b3381c2e63a41119c76'/>
<id>urn:sha1:0d30ad71fa094dd89ae31b3381c2e63a41119c76</id>
<content type='text'>
MSVC does not understand this C99 style.

Signed-off-by: Frank Li &lt;lznuaa@gmail.com&gt;
Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.6.3' into maint</title>
<updated>2009-08-12T23:15:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-08-12T23:15:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2cd9c2aff0d65bbce704a68d9cbe7a17e02257fe'/>
<id>urn:sha1:2cd9c2aff0d65bbce704a68d9cbe7a17e02257fe</id>
<content type='text'>
* maint-1.6.3:
  Change mentions of "git programs" to "git commands"
  Documentation: merge: one &lt;remote&gt; is required
  help.c: give correct structure's size to memset()
</content>
</entry>
<entry>
<title>Change mentions of "git programs" to "git commands"</title>
<updated>2009-08-12T23:14:41Z</updated>
<author>
<name>Ori Avtalion</name>
<email>ori@avtalion.name</email>
</author>
<published>2009-08-07T14:24:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=57f6ec029090f64377ec5c0926b6e2e39b0caa4f'/>
<id>urn:sha1:57f6ec029090f64377ec5c0926b6e2e39b0caa4f</id>
<content type='text'>
Most of the docs and printouts refer to "commands" when discussing what
the end users call via the "git" top-level program. We should refer them
as "git programs" when we discuss the fact that the commands are
implemented as separate programs, but in other contexts, it is better to
use the term "git commands" consistently.

Signed-off-by: Ori Avtalion &lt;ori@avtalion.name&gt;
Signed-off-by: Nanako Shiraishi &lt;nanako3@lavabit.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>help.c: give correct structure's size to memset()</title>
<updated>2009-08-12T23:14:31Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2009-08-11T10:10:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0b74f5dc3a27a058cd5dfe45b5ada4d2853dc447'/>
<id>urn:sha1:0b74f5dc3a27a058cd5dfe45b5ada4d2853dc447</id>
<content type='text'>
These two structures are of the same type, but we'd better be consistent.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>janitor: add DIV_ROUND_UP and use it.</title>
<updated>2009-07-23T04:57:41Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2009-07-22T21:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=98cb6f30f708ef416572bf65bd26ac9f998ae0dc'/>
<id>urn:sha1:98cb6f30f708ef416572bf65bd26ac9f998ae0dc</id>
<content type='text'>
Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git wrapper: also use aliases to correct mistyped commands</title>
<updated>2008-09-12T06:05:39Z</updated>
<author>
<name>Pieter de Bie</name>
<email>pdebie@ai.rug.nl</email>
</author>
<published>2008-09-10T15:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=746c221ad063854e23661f6898c002c8726f5dad'/>
<id>urn:sha1:746c221ad063854e23661f6898c002c8726f5dad</id>
<content type='text'>
Signed-off-by: Pieter de Bie &lt;pdebie@ai.rug.nl&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ar/autospell'</title>
<updated>2008-09-08T06:52:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-09-08T06:52:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=277cd4c4bd8cca31395846fc80ea28bf2cd4ddf2'/>
<id>urn:sha1:277cd4c4bd8cca31395846fc80ea28bf2cd4ddf2</id>
<content type='text'>
* ar/autospell:
  Add help.autocorrect to enable/disable autocorrecting
  git wrapper: DWIM mistyped commands
</content>
</entry>
</feed>
