]> git.ipfire.org Git - thirdparty/git.git/commit
stash: declare ref_stash as an array
authorDenton Liu <liu.denton@gmail.com>
Tue, 9 Feb 2021 07:28:53 +0000 (23:28 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Feb 2021 21:34:58 +0000 (13:34 -0800)
commit3e885f02775dad0d907d447bc3c24fa07870b41f
treeeceacf4287681af7c9b43267374e408be92d1cc4
parent8c2462d1fe01fbc509827591f6b287d8af245ae1
stash: declare ref_stash as an array

Save sizeof(const char *) bytes by declaring ref_stash as an array
instead of having a redundant pointer to an array.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/stash.c