Re: [PATCH 2/4] tree-walk: copy tree_entry_interesting() as is from tree-diff.c
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Sep 6, 2010, 22:09 UTC
- Message-ID
- <AANLkTimG1JzOtSDKh_BwAMj92iHWCA2bHThVcT2k4bZn@mail.gmail.com>
- In-Reply-To
- <AANLkTikmTcKdEjwX+3+BZoV25cJQk=XDC4V03kc5G44s@mail.gmail.com>
2010/9/7 Elijah Newren <newren@gmail.com>:
Show 6 quoted lines
> 2010/9/5 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>: >> Just a straight copy. The function is not used anywhere. It is to >> separate changes that will be made to this function in the next patch. > > Why copy instead of move? >
Right. I wanted to keep it in buildable state at anytime so I made zero changes to tree-diff.c. But you're right, that should be a move and make sure the code builds.
-- Duy