]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jh/libify-note-handling'
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Jun 2013 20:48:30 +0000 (13:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Jun 2013 20:48:30 +0000 (13:48 -0700)
Make it possible to call into copy-notes API from the sequencer code.

* jh/libify-note-handling:
  Move create_notes_commit() from notes-merge.c into notes-utils.c
  Move copy_note_for_rewrite + friends from builtin/notes.c to notes-utils.c
  finish_copy_notes_for_rewrite(): Let caller provide commit message

1  2 
Makefile
builtin.h
builtin/commit.c

diff --cc Makefile
index 79f961ee4bf85b488aaa1c3f3fb9b8b28b414872,22deee10c8c20866614505a239a9f641fc0d9f65..e1583761dfa58c3ede93b2076e4aa0963f2aa379
+++ b/Makefile
@@@ -696,8 -682,10 +696,9 @@@ LIB_H += merge-recursive.
  LIB_H += mergesort.h
  LIB_H += notes-cache.h
  LIB_H += notes-merge.h
+ LIB_H += notes-utils.h
  LIB_H += notes.h
  LIB_H += object.h
 -LIB_H += pack-refs.h
  LIB_H += pack-revindex.h
  LIB_H += pack.h
  LIB_H += parse-options.h
@@@ -830,8 -816,10 +831,9 @@@ LIB_OBJS += name-hash.
  LIB_OBJS += notes.o
  LIB_OBJS += notes-cache.o
  LIB_OBJS += notes-merge.o
+ LIB_OBJS += notes-utils.o
  LIB_OBJS += object.o
  LIB_OBJS += pack-check.o
 -LIB_OBJS += pack-refs.o
  LIB_OBJS += pack-revindex.o
  LIB_OBJS += pack-write.o
  LIB_OBJS += pager.o
diff --cc builtin.h
Simple merge
Simple merge