Re: [PATCH v2 3/5] Make the require_clean_work_tree() function truly reusable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 12, 2016, 18:58 UTC
- Message-ID
- <xmqqpoo92bdr.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <0e1ec34e45fea5bae60e65f316072cb2c89b024a.1473580914.git.johannes.schindelin@gmx.de>
Johannes Schindelin <johannes.schindelin@gmx.de> writes:
Show 6 quoted lines
> It is remarkable that libgit.a did not sport this function yet... Let's > move it into a more prominent (and into an actually reusable) spot: > wt-status.[ch]. > > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> > ---
I do not think "truly" is needed at all.
It was not reusable. It is somewhat reusable after this patch. It may or may not be "truly" reusable depending on the need of future patches, which we do not know yet.
I agree wt-status.[ch] is a good home for this feature.
Thanks.