Re: [PATCH 1/5] attr.c: add push_stack() helper
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 9, 2016, 00:15 UTC
- Message-ID
- <xmqqlh2fjjzg.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79ka+BXOAMr7JxJXmhsmXTwTcdidJ72=9mbCkHiycj-t6AQ@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
All of your questions is about !origin vs !*origin. This applies to the code in 'master', not specific to jc/attr topic's improvements. It is how the prepare_attr_stack() tells where the .gitattributes for the top-level directory is when popping the elements for other directory hierarchy we have left (origin && !*origin is the root level). !origin denotes entries that did not come from in-tree files (i.e. $GIT_DIR/info/attributes, built-in ones, etc.).