From: Junio C Hamano Date: Mon, 18 May 2020 17:32:49 GMT Subject: Re: [PATCH v2] commit-slab-decl.h: fix define guards Message-ID: In-Reply-To: Eric Sunshine writes: > On Mon, May 18, 2020 at 1:14 PM Junio C Hamano wrote: >> From: Abhishek Kumar >> Subject: [PATCH] commit-slab-decl.h: update include guard >> >> When a9f1f1f9f8 ("commit-slab.h: code split", 2018-05-19) split >> commit-slab.h into commit-slab-decl.h and commit-slab-impl.h header >> files, commit-slab-decl.h were left use "COMMIT_SLAB_HDR_H", while > > s/were left use/was left using/ Thanks, I meant to say "left to use" actually. >> commit-slab-impl.h gained its own macro, "COMMIT_SLAB_IMPL_H". >> >> As these two files use different include guards, there is nothing >> broken, but let's update commit-slab-decl.h to match the convention >> to name the include guard after the filename. >> >> Signed-off-by: Abhishek Kumar >> Signed-off-by: Junio C Hamano