Re: git-note -C changes commit type?

2014-02-12 Thread Joachim Breitner
Dear Johan, Am Mittwoch, den 12.02.2014, 00:52 +0100 schrieb Johan Herland: On Tue, Feb 11, 2014 at 6:23 PM, Joachim Breitner m...@joachim-breitner.de wrote: judging from the documentation I got the impression that I can pass any git object has to git note -C hash and it would stored as-is.

Re: git-note -C changes commit type?

2014-02-12 Thread Johan Herland
On Wed, Feb 12, 2014 at 1:06 AM, Junio C Hamano gits...@pobox.com wrote: Johan Herland jo...@herland.net writes: There is currently no way the git notes commands will allow you to store the 3d7de37 commit object directly as a note. There is also (AFAICS) no easy workaround (git fast-import

Re: git-note -C changes commit type?

2014-02-12 Thread Johan Herland
On Wed, Feb 12, 2014 at 9:53 AM, Joachim Breitner m...@joachim-breitner.de wrote: Am Mittwoch, den 12.02.2014, 00:52 +0100 schrieb Johan Herland: You would have a notes ref refs/notes/history whose tree would contain an entry named e1bfac434ebd3135a3784f6fc802f235098eebd0 pointing to a

Re: git-note -C changes commit type?

2014-02-12 Thread Joachim Breitner
Dear Johan, thanks for the patch! Am Mittwoch, den 12.02.2014, 11:26 +0100 schrieb Johan Herland: Here's another way to solve your problem, which should be fairly transparent and performant: Whenever you want to reference history of a commit (I'm using quotes here, because we're not

git-note -C changes commit type?

2014-02-11 Thread Joachim Breitner
Hi, judging from the documentation I got the impression that I can pass any git object has to git note -C hash and it would stored as-is. But it seems the objects gets mangled somehow... (I want to attach a commit object as a note, to reference the history of a feature before the final cleanup

Re: git-note -C changes commit type?

2014-02-11 Thread Johan Herland
On Tue, Feb 11, 2014 at 6:23 PM, Joachim Breitner m...@joachim-breitner.de wrote: Hi, judging from the documentation I got the impression that I can pass any git object has to git note -C hash and it would stored as-is. But it seems the objects gets mangled somehow... ...well... the

Re: git-note -C changes commit type?

2014-02-11 Thread Junio C Hamano
Johan Herland jo...@herland.net writes: There is currently no way the git notes commands will allow you to store the 3d7de37 commit object directly as a note. There is also (AFAICS) no easy workaround (git fast-import could've been a workaround if it did not already require the first

Re: git-note -C changes commit type?

2014-02-11 Thread Kyle J. McKay
On Feb 11, 2014, at 16:06, Junio C Hamano wrote: Johan Herland jo...@herland.net writes: There is currently no way the git notes commands will allow you to store the 3d7de37 commit object directly as a note. There is also (AFAICS) no easy workaround (git fast-import could've been a workaround