<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/notes.c, branch v2.17.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.17.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.17.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-03-14T19:01:07Z</updated>
<entry>
<title>Merge branch 'nd/parseopt-completion'</title>
<updated>2018-03-14T19:01:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-03-14T19:01:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7fb6aefd2aaffe66e614f7f7b83e5b7ab16d4806'/>
<id>urn:sha1:7fb6aefd2aaffe66e614f7f7b83e5b7ab16d4806</id>
<content type='text'>
Teach parse-options API an option to help the completion script,
and make use of the mechanism in command line completion.

* nd/parseopt-completion: (45 commits)
  completion: more subcommands in _git_notes()
  completion: complete --{reuse,reedit}-message= for all notes subcmds
  completion: simplify _git_notes
  completion: don't set PARSE_OPT_NOCOMPLETE on --rerere-autoupdate
  completion: use __gitcomp_builtin in _git_worktree
  completion: use __gitcomp_builtin in _git_tag
  completion: use __gitcomp_builtin in _git_status
  completion: use __gitcomp_builtin in _git_show_branch
  completion: use __gitcomp_builtin in _git_rm
  completion: use __gitcomp_builtin in _git_revert
  completion: use __gitcomp_builtin in _git_reset
  completion: use __gitcomp_builtin in _git_replace
  remote: force completing --mirror= instead of --mirror
  completion: use __gitcomp_builtin in _git_remote
  completion: use __gitcomp_builtin in _git_push
  completion: use __gitcomp_builtin in _git_pull
  completion: use __gitcomp_builtin in _git_notes
  completion: use __gitcomp_builtin in _git_name_rev
  completion: use __gitcomp_builtin in _git_mv
  completion: use __gitcomp_builtin in _git_merge_base
  ...
</content>
</entry>
<entry>
<title>completion: use __gitcomp_builtin in _git_notes</title>
<updated>2018-02-09T18:24:52Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-02-09T11:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7a60e3bb830a7e07be23316035a095b7ca36ae27'/>
<id>urn:sha1:7a60e3bb830a7e07be23316035a095b7ca36ae27</id>
<content type='text'>
The new completable options are:

--allow-empty (notes add and notes append)
--for-rewrite= (notes copy)

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>parse-options: let OPT__FORCE take optional flags argument</title>
<updated>2018-02-09T18:24:50Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-02-09T11:01:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1224781d6080b8b69a81526ee23b22a1587920ea'/>
<id>urn:sha1:1224781d6080b8b69a81526ee23b22a1587920ea</id>
<content type='text'>
--force option is most likely hidden from command line completion for
safety reasons. This is done by adding an extra flag
PARSE_OPT_NOCOMPLETE. Update OPT__FORCE() to accept additional
flags. Actual flag change comes later depending on individual
commands.

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>sha1_file: convert write_sha1_file to object_id</title>
<updated>2018-01-30T18:42:36Z</updated>
<author>
<name>Patryk Obara</name>
<email>patryk.obara@gmail.com</email>
</author>
<published>2018-01-28T00:13:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a09c985eae694db1cf31c72db0e2e1bf42f1274f'/>
<id>urn:sha1:a09c985eae694db1cf31c72db0e2e1bf42f1274f</id>
<content type='text'>
Convert the definition and declaration of write_sha1_file to
struct object_id and adjust usage of this function.

This commit also converts static function write_sha1_file_prepare, as it
is closely related.

Rename these functions to write_object_file and
write_object_file_prepare respectively.

Replace sha1_to_hex, hashcpy and hashclr with their oid equivalents
wherever possible.

Signed-off-by: Patryk Obara &lt;patryk.obara@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ot/pretty'</title>
<updated>2017-12-27T19:16:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-27T19:16:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6bd396be0f9c87c2a7012d43eddc3c57f40a169b'/>
<id>urn:sha1:6bd396be0f9c87c2a7012d43eddc3c57f40a169b</id>
<content type='text'>
Code clean-up.

* ot/pretty:
  format: create docs for pretty.h
  format: create pretty.h file
</content>
</entry>
<entry>
<title>format: create pretty.h file</title>
<updated>2017-12-12T18:39:43Z</updated>
<author>
<name>Olga Telezhnaya</name>
<email>olyatelezhnaya@gmail.com</email>
</author>
<published>2017-12-12T08:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cf3947193c496132f653cc19ecb2771afd0acd1e'/>
<id>urn:sha1:cf3947193c496132f653cc19ecb2771afd0acd1e</id>
<content type='text'>
Create header for pretty.c to make formatting interface more structured.
This is a middle point, this file would be merged further with other
files which contain formatting stuff.

Signed-off-by: Olga Telezhnaia &lt;olyatelezhnaya@gmail.com&gt;
Mentored-by: Christian Couder &lt;christian.couder@gmail.com&gt;
Mentored 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 'rd/doc-notes-prune-fix'</title>
<updated>2017-12-06T17:23:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-06T17:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5b5710effa68e3901a44bb2e55485a4d8a89308f'/>
<id>urn:sha1:5b5710effa68e3901a44bb2e55485a4d8a89308f</id>
<content type='text'>
Doc update.

* rd/doc-notes-prune-fix:
  notes: correct 'git notes prune' options to '[-n] [-v]'
</content>
</entry>
<entry>
<title>Merge branch 'tz/notes-error-to-stderr' into maint</title>
<updated>2017-12-06T17:09:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-06T17:09:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0cfcb1695f461db0330934f951160c9824d4de8f'/>
<id>urn:sha1:0cfcb1695f461db0330934f951160c9824d4de8f</id>
<content type='text'>
"git notes" sent its error message to its standard output stream,
which was corrected.

* tz/notes-error-to-stderr:
  notes: send "Automatic notes merge failed" messages to stderr
</content>
</entry>
<entry>
<title>Merge branch 'tz/notes-error-to-stderr'</title>
<updated>2017-11-27T02:06:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-11-27T02:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c5e763083fa675629c7d936d72fb67d8f03e0846'/>
<id>urn:sha1:c5e763083fa675629c7d936d72fb67d8f03e0846</id>
<content type='text'>
"git notes" sent its error message to its standard output stream,
which was corrected.

* tz/notes-error-to-stderr:
  notes: send "Automatic notes merge failed" messages to stderr
</content>
</entry>
<entry>
<title>notes: correct 'git notes prune' options to '[-n] [-v]'</title>
<updated>2017-11-22T03:59:02Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2017-11-21T19:17:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e54b63359f9df44850bd50010e097f40e8cf3952'/>
<id>urn:sha1:e54b63359f9df44850bd50010e097f40e8cf3952</id>
<content type='text'>
Currently, 'git notes prune' in man page and usage message
incorrectly lists options as '[-n | -v]', rather than '[-n] [-v]'.

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
