<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit.h, branch v1.7.0.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.7.0.5</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.7.0.5'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2010-01-23T00:08:01Z</updated>
<entry>
<title>Merge branch 'jc/maint-limit-note-output'</title>
<updated>2010-01-23T00:08:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-01-23T00:08:01Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=67bc7407211d26de518811dafc2c1cf2e6124709'/>
<id>urn:sha1:67bc7407211d26de518811dafc2c1cf2e6124709</id>
<content type='text'>
* jc/maint-limit-note-output:
  Fix "log --oneline" not to show notes
  Fix "log" family not to be too agressive about showing notes
</content>
</entry>
<entry>
<title>Fix "log" family not to be too agressive about showing notes</title>
<updated>2010-01-21T03:57:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-01-20T21:59:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=66b2ed09c2f0f212c5cd5c095c1f1052ecbb9491'/>
<id>urn:sha1:66b2ed09c2f0f212c5cd5c095c1f1052ecbb9491</id>
<content type='text'>
Giving "Notes" information in the default output format of "log" and
"show" is a sensible progress (the user has asked for it by having the
notes), but for some commands (e.g. "format-patch") spewing notes into the
formatted commit log message without being asked is too aggressive.

Enable notes output only for "log", "show", "whatchanged" by default and
only when the user didn't ask any specific --pretty/--format from the
command line; users can explicitly override this default with --show-notes
and --no-notes option.

Parts of tests are taken from Jeff King's fix.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pretty.c: mark file-local function static</title>
<updated>2010-01-12T07:16:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-01-12T06:23:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=cc5711424b7ae36276a40c06ede5d95f87ca20f0'/>
<id>urn:sha1:cc5711424b7ae36276a40c06ede5d95f87ca20f0</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sp/smart-http'</title>
<updated>2009-11-21T07:51:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-11-21T07:51:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=905bf7742cf5f4a6dea2e75ba2dbd89d5dfaa793'/>
<id>urn:sha1:905bf7742cf5f4a6dea2e75ba2dbd89d5dfaa793</id>
<content type='text'>
* sp/smart-http: (37 commits)
  http-backend: Let gcc check the format of more printf-type functions.
  http-backend: Fix access beyond end of string.
  http-backend: Fix bad treatment of uintmax_t in Content-Length
  t5551-http-fetch: Work around broken Accept header in libcurl
  t5551-http-fetch: Work around some libcurl versions
  http-backend: Protect GIT_PROJECT_ROOT from /../ requests
  Git-aware CGI to provide dumb HTTP transport
  http-backend: Test configuration options
  http-backend: Use http.getanyfile to disable dumb HTTP serving
  test smart http fetch and push
  http tests: use /dumb/ URL prefix
  set httpd port before sourcing lib-httpd
  t5540-http-push: remove redundant fetches
  Smart HTTP fetch: gzip requests
  Smart fetch over HTTP: client side
  Smart push over HTTP: client side
  Discover refs via smart HTTP server when available
  http-backend: more explict LocationMatch
  http-backend: add example for gitweb on same URL
  http-backend: use mod_alias instead of mod_rewrite
  ...

Conflicts:
	.gitignore
	remote-curl.c
</content>
</entry>
<entry>
<title>fixup tr/stash-format merge</title>
<updated>2009-10-31T03:18:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-10-31T03:18:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=5f809ff50921bee44bbf88c49056e7d145c0c35f'/>
<id>urn:sha1:5f809ff50921bee44bbf88c49056e7d145c0c35f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fetch-pack: Use a strbuf to compose the want list</title>
<updated>2009-10-31T02:20:53Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2009-10-31T00:47:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=edace6f02eeae6f4a06ed1e4f6308703523d8535'/>
<id>urn:sha1:edace6f02eeae6f4a06ed1e4f6308703523d8535</id>
<content type='text'>
This change is being offered as a refactoring to make later
commits in the smart HTTP series easier.

By changing the enabled capabilities to be formatted in a strbuf
it is easier to add a new capability to the set of supported
capabilities.

By formatting the want portion of the request into a strbuf and
writing it as a whole block we can later decide to hold onto
the req_buf (instead of releasing it) to recycle in stateless
communications.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Introduce new pretty formats %g[sdD] for reflog information</title>
<updated>2009-10-20T05:28:26Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2009-10-19T15:48:10Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=8f8f5476cd6542387d435c242752404cf144005f'/>
<id>urn:sha1:8f8f5476cd6542387d435c242752404cf144005f</id>
<content type='text'>
Add three new --pretty=format escapes:

  %gD  long  reflog descriptor (e.g. refs/stash@{0})
  %gd  short reflog descriptor (e.g. stash@{0})
  %gs  reflog message

This is achieved by passing down the reflog info, if any, inside the
pretty_print_context struct.

We use the newly refactored get_reflog_selector(), and give it some
extra functionality to extract a shortened ref.  The shortening is
cached inside the commit_reflogs struct; the only allocation of it
happens in read_complete_reflog(), where it is initialised to 0.  Also
add another helper get_reflog_message() for the message extraction.

Note that the --format="%h %gD: %gs" tests may not work in real
repositories, as the --pretty formatter doesn't know to leave away the
": " on the last commit in an incomplete (because git-gc removed the
old part) reflog.  This equivalence is nevertheless the main goal of
this patch.

Thanks to Jeff King for reviews, the %gd testcase and documentation.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Refactor pretty_print_commit arguments into a struct</title>
<updated>2009-10-20T05:28:20Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2009-10-19T15:48:08Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=dd2e794a214350711db46c4e08d9b19188a7d63a'/>
<id>urn:sha1:dd2e794a214350711db46c4e08d9b19188a7d63a</id>
<content type='text'>
pretty_print_commit() has a bunch of rarely-used arguments, and
introducing more of them requires yet another update of all the call
sites.  Refactor most of them into a struct to make future extensions
easier.

The ones that stay "plain" arguments were chosen on the grounds that
all callers put real arguments there, whereas some callers have 0/NULL
for all arguments that were factored into the struct.

We declare the struct 'const' to ensure none of the callers are bitten
by the changed (no longer call-by-value) semantics.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format_commit_message(): fix function signature</title>
<updated>2009-10-19T07:48:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-10-16T05:59:41Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7f98ebc8fd34107c6234cbad7b776054810b6fe1'/>
<id>urn:sha1:7f98ebc8fd34107c6234cbad7b776054810b6fe1</id>
<content type='text'>
The format template string was declared as "const void *" for some unknown
reason, even though it obviously is meant to be passed a string.  Make it
"const char *".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tr/reset-checkout-patch'</title>
<updated>2009-09-07T22:24:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-09-07T22:24:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=54f0bdc81103f45f12978b385a9519a235b03cc2'/>
<id>urn:sha1:54f0bdc81103f45f12978b385a9519a235b03cc2</id>
<content type='text'>
* tr/reset-checkout-patch:
  stash: simplify defaulting to "save" and reject unknown options
  Make test case number unique
  tests: disable interactive hunk selection tests if perl is not available
  DWIM 'git stash save -p' for 'git stash -p'
  Implement 'git stash save --patch'
  Implement 'git checkout --patch'
  Implement 'git reset --patch'
  builtin-add: refactor the meat of interactive_add()
  Add a small patch-mode testing library
  git-apply--interactive: Refactor patch mode code
  Make 'git stash -k' a short form for 'git stash save --keep-index'
</content>
</entry>
</feed>
