From: Junio C Hamano Date: Mon, 05 Oct 2026 05:27:27 GMT Subject: Re: [PATCH] stash: use named constant when parsing "--all" Message-ID: In-Reply-To: <06b58ae0a1d81f4d1518eadecc3385072a72155a.1791108351.git.phillip.wood@dunelm.org.uk> Phillip Wood writes: > From: Phillip Wood > > The code that stashes all untracked files compares the value of the > "include_untracked" variable to the constant "INCLUDE_ALL_FILES", > however the option parsing code for "--all" uses a hard coded integer > instead. Replace the integer with the named constant. > > Signed-off-by: Phillip Wood > --- > - N_("include ignore files"), 2), > + N_("include ignore files"), INCLUDE_ALL_FILES), > - N_("include ignore files"), 2), > + N_("include ignore files"), INCLUDE_ALL_FILES), So obviously right. I wish all patches were like this ;-).