On Fri, Jan 19, 2018 at 6:22 PM, Оля Тележная <olyatelezhnaya@xxxxxxxxx> wrote: > 2018-01-19 20:14 GMT+03:00 Christian Couder <christian.couder@xxxxxxxxx>: >> On Thu, Jan 18, 2018 at 7:20 AM, Оля Тележная <olyatelezhnaya@xxxxxxxxx> wrote: >>> And another thoughts here - we were thinking about creating format.h >>> but decided not to move forward with it, and now we are suffering >>> because of it. Can I create it right now or the history of commits >>> would be too dirty because of it? >> >> It would also make it difficult to refactor your patch series if there >> is a big move or renaming in the middle. >> >>> Also, do you mean just renaming of >>> ref-filter? I was thinking that I need to put formatting-related logic >>> to another file and leave all other stuff in ref-filter. >> >> Yeah, you can do both a move and a renaming. > > Thanks for a response! That thought is not clear enough for me. Do you > want me to split ref-filter into 2 files (one is for formatting only > called format and other one is for anything else still called > ref-filter) - here is a second question by the way, do I need to > create only format.h (and leave all realizations in ref-filter.c), or > I also need to create format.c. Or, just to rename ref-filter into > format and that's all. Just renaming ref-filter into format (including the filenames) will probably be enough, but it's also possible that it will make more sense to keep some code only relevant to ref filtering into ref-filter.{c,h}. We will be in a better position to decide what we should do when the migration is finished.