<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/notes.c, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-06-30T18:55:38Z</updated>
<entry>
<title>Merge branch 'jp/string-list-api-cleanup'</title>
<updated>2010-06-30T18:55:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-30T18:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a53deac89eb6c65cd953c730f33b86ac3f72d647'/>
<id>urn:sha1:a53deac89eb6c65cd953c730f33b86ac3f72d647</id>
<content type='text'>
* jp/string-list-api-cleanup:
  string_list: Fix argument order for string_list_append
  string_list: Fix argument order for string_list_lookup
  string_list: Fix argument order for string_list_insert_at_index
  string_list: Fix argument order for string_list_insert
  string_list: Fix argument order for for_each_string_list
  string_list: Fix argument order for print_string_list
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2010-06-29T00:42:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-29T00:42:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1ba5c532e1f6ede63fd46bf6b647e70baa10a364'/>
<id>urn:sha1:1ba5c532e1f6ede63fd46bf6b647e70baa10a364</id>
<content type='text'>
* maint:
  Update draft release notes to 1.7.1.1
  notes: Initialise variable to appease gcc
  notes: check number of parameters to "git notes copy"
</content>
</entry>
<entry>
<title>notes: Initialise variable to appease gcc</title>
<updated>2010-06-28T17:01:26Z</updated>
<author>
<name>Ramsay Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2010-06-21T18:52:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=89fe121d5fd808391ee38b7f39b88cb3f912776f'/>
<id>urn:sha1:89fe121d5fd808391ee38b7f39b88cb3f912776f</id>
<content type='text'>
gcc version 3.4.4 thinks that the 'cmp' variable could be used
while uninitialised and complains thus:

    notes.c: In function `write_each_non_note_until':
    notes.c:719: warning: 'cmp' might be used uninitialized in \
        this function

Note that gcc versions 4.1.2 and 4.4.0 do not issue this warning.

Signed-off-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>string_list: Fix argument order for string_list_append</title>
<updated>2010-06-27T17:06:52Z</updated>
<author>
<name>Julian Phillips</name>
<email>julian@quantumfyre.co.uk</email>
</author>
<published>2010-06-25T23:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1d2f80fa79cdc6f7f4fa1cefb47d7d19be3bc5ee'/>
<id>urn:sha1:1d2f80fa79cdc6f7f4fa1cefb47d7d19be3bc5ee</id>
<content type='text'>
Update the definition and callers of string_list_append to use the
string_list as the first argument.  This helps make the string_list
API easier to use by being more consistent.

Signed-off-by: Julian Phillips &lt;julian@quantumfyre.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>string_list: Fix argument order for for_each_string_list</title>
<updated>2010-06-27T17:06:51Z</updated>
<author>
<name>Julian Phillips</name>
<email>julian@quantumfyre.co.uk</email>
</author>
<published>2010-06-25T23:41:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b684e977363ee5cb53d83c69f2298d7898c5f89a'/>
<id>urn:sha1:b684e977363ee5cb53d83c69f2298d7898c5f89a</id>
<content type='text'>
Update the definition and callers of for_each_string_list to use the
string_list as the first argument.  This helps make the string_list
API easier to use by being more consistent.

Signed-off-by: Julian Phillips &lt;julian@quantumfyre.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: dry-run and verbose options for prune</title>
<updated>2010-05-20T06:57:18Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2010-05-14T21:42:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a9f2adff802308481f2e638bae0c5b6e205251a3'/>
<id>urn:sha1:a9f2adff802308481f2e638bae0c5b6e205251a3</id>
<content type='text'>
Introduce -n and -v options for "git notes prune" in complete analogy to
"git prune" so that one can check for dangling notes easily.

The output is a list of names of objects whose notes would be resp.
are removed so that one can check the object ("git show sha1") as well as
the note ("git notes show sha1").

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Acked-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tr/notes-display'</title>
<updated>2010-03-24T23:26:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-03-24T23:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a86ed83cce0fc0b9a9fe4e17ac1bf4f719028d20'/>
<id>urn:sha1:a86ed83cce0fc0b9a9fe4e17ac1bf4f719028d20</id>
<content type='text'>
* tr/notes-display:
  git-notes(1): add a section about the meaning of history
  notes: track whether notes_trees were changed at all
  notes: add shorthand --ref to override GIT_NOTES_REF
  commit --amend: copy notes to the new commit
  rebase: support automatic notes copying
  notes: implement helpers needed for note copying during rewrite
  notes: implement 'git notes copy --stdin'
  rebase -i: invoke post-rewrite hook
  rebase: invoke post-rewrite hook
  commit --amend: invoke post-rewrite hook
  Documentation: document post-rewrite hook
  Support showing notes from more than one notes tree
  test-lib: unset GIT_NOTES_REF to stop it from influencing tests

Conflicts:
	git-am.sh
	refs.c
</content>
</entry>
<entry>
<title>notes.c: remove inappropriate call to return</title>
<updated>2010-03-20T14:27:55Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2010-03-18T15:03:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a502ab93339adeef014e1d95cb8f2520379a8651'/>
<id>urn:sha1:a502ab93339adeef014e1d95cb8f2520379a8651</id>
<content type='text'>
Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Acked-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: track whether notes_trees were changed at all</title>
<updated>2010-03-13T05:55:40Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2010-03-12T17:04:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7f710ea98262c7d81006c16c727796d9e6aeaa81'/>
<id>urn:sha1:7f710ea98262c7d81006c16c727796d9e6aeaa81</id>
<content type='text'>
Currently, the notes copying is a bit wasteful since it always creates
new trees, even if no notes were copied at all.

Teach add_note() and remove_note() to flag the affected notes tree as
changed ('dirty').  Then teach builtin/notes.c to use this knowledge
and avoid committing trees that weren't changed.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Acked-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: implement 'git notes copy --stdin'</title>
<updated>2010-03-13T05:55:39Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2010-03-12T17:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=160baa0d9cbdfcdb6251aa5ede77c59c0d53edfd'/>
<id>urn:sha1:160baa0d9cbdfcdb6251aa5ede77c59c0d53edfd</id>
<content type='text'>
This implements a mass-copy command that takes a sequence of lines in
the format

  &lt;from-sha1&gt; SP &lt;to-sha1&gt; [ SP &lt;rest&gt; ] LF

on stdin, and copies each &lt;from-sha1&gt;'s notes to the &lt;to-sha1&gt;.  The
&lt;rest&gt; is ignored.  The intent, of course, is that this can read the
same input that the 'post-rewrite' hook gets.

The copy_note() function is exposed for everyone's and in particular
the next commit's use.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Acked-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
