Re: [PATCH v2 1/2] traverse_info: make mostly const
- From
David Turner <dturner@twopensource.com>
- Date
- Dec 21, 2015, 23:15 UTC
- Message-ID
- <1450739714.3892.2.camel@twopensource.com>
- In-Reply-To
- <1450737260-15965-2-git-send-email-dturner@twopensource.com>
On Mon, 2015-12-21 at 17:34 -0500, David Turner wrote:
Show 9 quoted lines
> We don't usually modify traverse_info, so make it const across a wide > range of functions. > > Signed-off-by: David Turner <dturner@twopensource.com> > --- > builtin/merge-tree.c | 2 +- > cache-tree.c | 4 ++-- > cache-tree.h | 2 +- > t/t4010-diff-pathspec.sh | 2 +-
no, that change was not necessary at all.