Re: [PATCH v8 3/5] Export rewrite_parents() for 'log -L'

2013-02-28 Thread Junio C Hamano
Thomas Rast writes: > From: Bo Yang > > The function rewrite_one is used to rewrite a single > parent of the current commit, and is used by rewrite_parents > to rewrite all the parents. > > Decouple the dependence between them by making rewrite_one > a callback function that is passed to rewrite

[PATCH v8 3/5] Export rewrite_parents() for 'log -L'

2013-02-28 Thread Thomas Rast
From: Bo Yang The function rewrite_one is used to rewrite a single parent of the current commit, and is used by rewrite_parents to rewrite all the parents. Decouple the dependence between them by making rewrite_one a callback function that is passed to rewrite_parents. Then export rewrite_parent