1
0
mirror of https://github.com/git/git.git synced 2025-04-13 15:22:20 +00:00
git/builtin
Junio C Hamano ede63a195c Merge branch 'mh/reflife'
Define memory ownership and lifetime rules for what for-each-ref
feeds to its callbacks (in short, "you do not own it, so make a
copy if you want to keep it").

* mh/reflife: (25 commits)
  refs: document the lifetime of the args passed to each_ref_fn
  register_ref(): make a copy of the bad reference SHA-1
  exclude_existing(): set existing_refs.strdup_strings
  string_list_add_refs_by_glob(): add a comment about memory management
  string_list_add_one_ref(): rename first parameter to "refname"
  show_head_ref(): rename first parameter to "refname"
  show_head_ref(): do not shadow name of argument
  add_existing(): do not retain a reference to sha1
  do_fetch(): clean up existing_refs before exiting
  do_fetch(): reduce scope of peer_item
  object_array_entry: fix memory handling of the name field
  find_first_merges(): remove unnecessary code
  find_first_merges(): initialize merges variable using initializer
  fsck: don't put a void*-shaped peg in a char*-shaped hole
  object_array_remove_duplicates(): rewrite to reduce copying
  revision: use object_array_filter() in implementation of gc_boundary()
  object_array: add function object_array_filter()
  revision: split some overly-long lines
  cmd_diff(): make it obvious which cases are exclusive of each other
  cmd_diff(): rename local variable "list" -> "entry"
  ...
2013-06-14 08:46:14 -07:00
..
2013-04-26 15:28:09 -07:00
2013-06-02 16:00:44 -07:00
2013-04-15 11:04:44 -07:00
2012-09-17 15:59:34 -07:00
2013-05-29 14:23:40 -07:00
2013-01-23 21:19:10 -08:00
2013-06-05 14:59:53 -07:00
2013-06-14 08:46:14 -07:00
2013-06-14 08:46:14 -07:00
2012-09-27 17:57:26 -07:00
2013-04-03 09:18:01 -07:00
2013-06-02 16:00:44 -07:00
2012-09-11 11:36:05 -07:00
2013-05-08 15:34:33 -07:00
2013-01-16 12:48:22 -08:00
2012-10-25 06:42:27 -04:00
2013-05-29 14:23:04 -07:00
2012-10-29 03:08:30 -04:00
2013-01-16 12:48:22 -08:00