Re: [PATCH 7/8] diff.h: extend "flags" field to 64 bits because we're out of bits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 25, 2015, 17:39 UTC
- Message-ID
- <xmqqy4gzz2qa.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1440205874-20295-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> I renamed both "flags" and "touched_flags" fields while making this > patch to make sure I was aware of how these flags were manipulated > (besides DIFF_OPT* macros). So hopefully I didn't miss anything.
It is a bad taste to use user_defined_t typedef (I think it actually is a standard violation), isn't it?
The diff-struct is not like objects where we need million copies of in-core while running. What do you need many more flags for?