rebase (autostash): avoid duplicate call to state_dir_path()
commit71064e6008d13de72de0387a1301a557477cbed2
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 22 Oct 2018 22:15:02 +0000 (22 15:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Oct 2018 04:17:08 +0000 (23 13:17 +0900)
tree98145573eb2854fedb5420c82c80736ddac116ef
parent5541bd5b8f799ab2ae3901e38704d056b455d6ad
rebase (autostash): avoid duplicate call to state_dir_path()

We already called that function at this point, and stored the result in
the `path` variable. We might just as well use it ;-)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reviewed-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c