<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/help.c, branch v1.8.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.8.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.8.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-02-04T18:24:50Z</updated>
<entry>
<title>Merge branch 'jk/config-parsing-cleanup'</title>
<updated>2013-02-04T18:24:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-02-04T18:24:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=099ba556d05571001293c8eda10a4fc659f83f48'/>
<id>urn:sha1:099ba556d05571001293c8eda10a4fc659f83f48</id>
<content type='text'>
Configuration parsing for tar.* configuration variables were
broken. Introduce a new config-keyname parser API to make the
callers much less error prone.

* jk/config-parsing-cleanup:
  reflog: use parse_config_key in config callback
  help: use parse_config_key for man config
  submodule: simplify memory handling in config parsing
  submodule: use parse_config_key when parsing config
  userdiff: drop parse_driver function
  convert some config callbacks to parse_config_key
  archive-tar: use parse_config_key when parsing config
  config: add helper function for parsing key names
</content>
</entry>
<entry>
<title>help: use parse_config_key for man config</title>
<updated>2013-01-23T20:58:33Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2013-01-23T06:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4d5c6cefd5c3e37fdf096c955abe9f9ac5938a53'/>
<id>urn:sha1:4d5c6cefd5c3e37fdf096c955abe9f9ac5938a53</id>
<content type='text'>
The resulting code ends up about the same length, but it is
a little more self-explanatory. It now explicitly documents
and checks the pre-condition that the incoming var starts
with "man.", and drops the magic offset "4".

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>help: include &lt;common-cmds.h&gt; only in one file</title>
<updated>2013-01-19T06:35:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-01-19T06:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1542d4cdad9287896fd80d84a4c2256197087308'/>
<id>urn:sha1:1542d4cdad9287896fd80d84a4c2256197087308</id>
<content type='text'>
This header not only declares but also defines the contents of the
array that holds the list of command names and help text.  Do not
include it in multiple places to waste text space.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: help: mark parseopt strings for translation</title>
<updated>2012-08-20T19:23:17Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-08-20T12:32:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=68918696cce2db815a1b07f60d11f3c99e121b1f'/>
<id>urn:sha1:68918696cce2db815a1b07f60d11f3c99e121b1f</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'cw/help-over-network'</title>
<updated>2012-07-09T16:02:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-07-09T16:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f697a27aa6ecb2c8db7679ec5d403cf3b69f6afb'/>
<id>urn:sha1:f697a27aa6ecb2c8db7679ec5d403cf3b69f6afb</id>
<content type='text'>
"git help -w $cmd" can show HTML version of documentation for
"git-$cmd" by setting help.htmlpath to somewhere other than the
default location where the build procedure installs them locally;
the variable can even point at a http:// URL.

* cw/help-over-network:
  Allow help.htmlpath to be a URL prefix
  Add config variable to set HTML path for git-help --web
</content>
</entry>
<entry>
<title>Allow help.htmlpath to be a URL prefix</title>
<updated>2012-06-28T21:37:26Z</updated>
<author>
<name>Chris Webb</name>
<email>chris@arachsys.com</email>
</author>
<published>2012-06-28T06:58:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=86272b4ffeb38fb4fb1da3603bba1094fab3731b'/>
<id>urn:sha1:86272b4ffeb38fb4fb1da3603bba1094fab3731b</id>
<content type='text'>
Setting this to a URL prefix instead of a path to a local directory allows
git-help --web to work even when HTML docs aren't locally installed, by
pointing the browser at a copy accessible on the web. For example,

    [help]
      format = html
      htmlpath = http://git-scm.com/docs

will use the publicly available documentation on the git homepage.

Signed-off-by: Chris Webb &lt;chris@arachsys.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add config variable to set HTML path for git-help --web</title>
<updated>2012-06-28T21:37:26Z</updated>
<author>
<name>Chris Webb</name>
<email>chris@arachsys.com</email>
</author>
<published>2012-06-28T06:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=89a852efb911c260d3f7b56ef8382a0725cc931b'/>
<id>urn:sha1:89a852efb911c260d3f7b56ef8382a0725cc931b</id>
<content type='text'>
If set in git-config, help.htmlpath overrides system_path(GIT_HTML_PATH)
which was compiled in. This allows users to repoint system-wide git at
their own copy of the documentation without recompiling.

Signed-off-by: Chris Webb &lt;chris@arachsys.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Restore use of 'help.format' configuration property in 'git help'</title>
<updated>2012-06-22T18:06:08Z</updated>
<author>
<name>Pat Thoyts</name>
<email>patthoyts@users.sourceforge.net</email>
</author>
<published>2012-06-22T12:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d0408c0c8cd636233f01c0bda9ad71161609297c'/>
<id>urn:sha1:d0408c0c8cd636233f01c0bda9ad71161609297c</id>
<content type='text'>
Commit 1cc8af0 "help: use HTML as the default help format on Windows"
lost the ability to make use of the help.format config value by forcing
the use of a compiled in default if no command-line argument was provided.
This commit restores the use of the help.format value if one is
available, overriding the compiled default.

Signed-off-by: Pat Thoyts &lt;patthoyts@users.sourceforge.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>help: use HTML as the default help format on Windows</title>
<updated>2012-06-06T21:14:13Z</updated>
<author>
<name>Vincent van Ravesteijn</name>
<email>vfr@lyx.org</email>
</author>
<published>2012-06-06T20:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1cc8af044cad37b5f7df85b177f6aa979aa3215a'/>
<id>urn:sha1:1cc8af044cad37b5f7df85b177f6aa979aa3215a</id>
<content type='text'>
When 'git help $cmd' is run without a format option (e.g. -w), the
'man' format is always used. On some platforms, however, manual page
viewers are not often available.

Introduce DEFAULT_HELP_FORMAT make variable in order to allow the
default format configurable at compile time, and set it to HTML when
compiling on Windows (but not Cygwin).

Helped-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Vincent van Ravesteijn &lt;vfr@lyx.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/columns'</title>
<updated>2012-05-03T22:13:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-05-03T22:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f4ed0af6e2762bc43de474d1fcaa2863b00268eb'/>
<id>urn:sha1:f4ed0af6e2762bc43de474d1fcaa2863b00268eb</id>
<content type='text'>
A couple of commands learn --column option to produce columnar output.

By Nguyễn Thái Ngọc Duy (9) and Zbigniew Jędrzejewski-Szmek (1)
* nd/columns:
  tag: add --column
  column: support piping stdout to external git-column process
  status: add --column
  branch: add --column
  help: reuse print_columns() for help -a
  column: add dense layout support
  t9002: work around shells that are unable to set COLUMNS to 1
  column: add columnar layout
  Stop starting pager recursively
  Add column layout skeleton and git-column
</content>
</entry>
</feed>
