<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit.c, branch v2.2.2</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v2.2.2</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v2.2.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2014-10-08T20:05:25Z</updated>
<entry>
<title>Merge branch 'jc/push-cert'</title>
<updated>2014-10-08T20:05:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-08T20:05:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=fb06b5280ea05d75515fa780cf08d4ec9d6fe101'/>
<id>urn:sha1:fb06b5280ea05d75515fa780cf08d4ec9d6fe101</id>
<content type='text'>
Allow "git push" request to be signed, so that it can be verified and
audited, using the GPG signature of the person who pushed, that the
tips of branches at a public repository really point the commits
the pusher wanted to, without having to "trust" the server.

* jc/push-cert: (24 commits)
  receive-pack::hmac_sha1(): copy the entire SHA-1 hash out
  signed push: allow stale nonce in stateless mode
  signed push: teach smart-HTTP to pass "git push --signed" around
  signed push: fortify against replay attacks
  signed push: add "pushee" header to push certificate
  signed push: remove duplicated protocol info
  send-pack: send feature request on push-cert packet
  receive-pack: GPG-validate push certificates
  push: the beginning of "git push --signed"
  pack-protocol doc: typofix for PKT-LINE
  gpg-interface: move parse_signature() to where it should be
  gpg-interface: move parse_gpg_output() to where it should be
  send-pack: clarify that cmds_sent is a boolean
  send-pack: refactor inspecting and resetting status and sending commands
  send-pack: rename "new_refs" to "need_pack_data"
  receive-pack: factor out capability string generation
  send-pack: factor out capability string generation
  send-pack: always send capabilities
  send-pack: refactor decision to send update per ref
  send-pack: move REF_STATUS_REJECT_NODELETE logic a bit higher
  ...
</content>
</entry>
<entry>
<title>Merge branch 'da/styles'</title>
<updated>2014-09-19T18:38:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-19T18:38:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=83510ef3fda0df6acd6680410698a1762042a8af'/>
<id>urn:sha1:83510ef3fda0df6acd6680410698a1762042a8af</id>
<content type='text'>
* da/styles:
  stylefix: asterisks stick to the variable, not the type
</content>
</entry>
<entry>
<title>gpg-interface: move parse_gpg_output() to where it should be</title>
<updated>2014-09-15T20:23:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-08-14T22:31:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=a50e7ca3215492b16d96221cf762dbe71ed99722'/>
<id>urn:sha1:a50e7ca3215492b16d96221cf762dbe71ed99722</id>
<content type='text'>
Earlier, ffb6d7d5 (Move commit GPG signature verification to
commit.c, 2013-03-31) moved this helper that used to be in pretty.c
(i.e. the output code path) to commit.c for better reusability.

It was a good first step in the right direction, but still suffers
from a myopic view that commits will be the only thing we would ever
want to sign---we would actually want to be able to reuse it even
wider.

The function interprets what GPG said; gpg-interface is obviously a
better place.  Move it there.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>stylefix: asterisks stick to the variable, not the type</title>
<updated>2014-09-02T18:33:32Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2014-08-31T20:11:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=24d36f1472794ba95ddc81ba8afb45fe30d1f35c'/>
<id>urn:sha1:24d36f1472794ba95ddc81ba8afb45fe30d1f35c</id>
<content type='text'>
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>record_author_date(): use find_commit_header()</title>
<updated>2014-08-27T17:31:13Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-08-27T07:56:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ea5517f04b08bdb40eca72888220bd6a90d3cf17'/>
<id>urn:sha1:ea5517f04b08bdb40eca72888220bd6a90d3cf17</id>
<content type='text'>
This saves us some manual parsing and makes the code more
readable.

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>record_author_date(): fix memory leak on malformed commit</title>
<updated>2014-08-27T17:30:42Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-08-27T07:56:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=6876618ceaafddba625ed823679d99de0e79d111'/>
<id>urn:sha1:6876618ceaafddba625ed823679d99de0e79d111</id>
<content type='text'>
If we hit the end-of-header without finding an "author"
line, we just return from the function. We should jump to
the fail_exit path to clean up the buffer that we may have
allocated.

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>commit: provide a function to find a header in a buffer</title>
<updated>2014-08-27T17:25:28Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-08-27T07:56:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=fe6eb7f2c506190c817407accf27834005a57f2b'/>
<id>urn:sha1:fe6eb7f2c506190c817407accf27834005a57f2b</id>
<content type='text'>
Usually when we parse a commit, we read it line by line and
handle each individual line (e.g., parse_commit and
parse_commit_header).  Sometimes, however, we only care
about extracting a single header. Code in this situation is
stuck doing an ad-hoc parse of the commit buffer.

Let's provide a reusable function to locate a header within
the commit.  The code is modeled after pretty.c's
get_header, which is used to extract the encoding.

Since some callers may not have the "struct commit" to go
along with the buffer, we drop that parameter.  The only
thing lost is a warning for truncated commits, but that's
OK.  This shouldn't happen in practice, and even if it does,
there's no particular reason that this function needs to
complain about it. It either finds the header it was asked
for, or it doesn't (and in the latter case, the caller will
typically complain).

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>Merge branch 'cc/replace-graft'</title>
<updated>2014-07-27T22:14:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-27T22:14:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=16737445a94cb9b18378fff973129d974c7cdf8a'/>
<id>urn:sha1:16737445a94cb9b18378fff973129d974c7cdf8a</id>
<content type='text'>
"git replace" learned a "--graft" option to rewrite parents of a
commit.

* cc/replace-graft:
  replace: add test for --graft with a mergetag
  replace: check mergetags when using --graft
  replace: add test for --graft with signed commit
  replace: remove signature when using --graft
  contrib: add convert-grafts-to-replace-refs.sh
  Documentation: replace: add --graft option
  replace: add test for --graft
  replace: add --graft option
  replace: cleanup redirection style in tests
</content>
</entry>
<entry>
<title>Merge branch 'jk/stable-prio-queue'</title>
<updated>2014-07-27T22:14:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-27T22:14:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4799593e26f09e4209249caf9536001036618ac2'/>
<id>urn:sha1:4799593e26f09e4209249caf9536001036618ac2</id>
<content type='text'>
* jk/stable-prio-queue:
  t5539: update a flaky test
  paint_down_to_common: use prio_queue
  prio-queue: make output stable with respect to insertion
  prio-queue: factor out compare and swap operations
</content>
</entry>
<entry>
<title>Merge branch 'rs/code-cleaning'</title>
<updated>2014-07-22T17:59:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-22T17:59:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=12621cb22224d1c2f507a643a578e386ee891c5c'/>
<id>urn:sha1:12621cb22224d1c2f507a643a578e386ee891c5c</id>
<content type='text'>
* rs/code-cleaning:
  remote-testsvn: use internal argv_array of struct child_process in cmd_import()
  bundle: use internal argv_array of struct child_process in create_bundle()
  fast-import: use hashcmp() for SHA1 hash comparison
  transport: simplify fetch_objs_via_rsync() using argv_array
  run-command: use internal argv_array of struct child_process in run_hook_ve()
  use commit_list_count() to count the members of commit_lists
  strbuf: use strbuf_addstr() for adding C strings
</content>
</entry>
</feed>
