diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-23 00:12:42 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-23 00:12:42 (GMT) |
commit | b9554c03a0a8147109608b94feb32837a6e6a145 (patch) | |
tree | 403059f744c33c6d096a2031d019738d0dea3e67 /builtin | |
parent | 2283e0e9af55689215afa39c03beb2315ce18e83 (diff) | |
parent | 3e885f02775dad0d907d447bc3c24fa07870b41f (diff) | |
download | git-b9554c03a0a8147109608b94feb32837a6e6a145.zip git-b9554c03a0a8147109608b94feb32837a6e6a145.tar.gz git-b9554c03a0a8147109608b94feb32837a6e6a145.tar.bz2 |
Merge branch 'dl/stash-cleanup'
Documentation, code and test clean-up around "git stash".
* dl/stash-cleanup:
stash: declare ref_stash as an array
t3905: use test_cmp() to check file contents
t3905: replace test -s with test_file_not_empty
t3905: remove nested git in command substitution
t3905: move all commands into test cases
t3905: remove spaces after redirect operators
git-stash.txt: be explicit about subcommand options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/stash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/stash.c b/builtin/stash.c index 9bc85f9..6f2b58f 100644 --- a/builtin/stash.c +++ b/builtin/stash.c @@ -87,7 +87,7 @@ static const char * const git_stash_save_usage[] = { NULL }; -static const char *ref_stash = "refs/stash"; +static const char ref_stash[] = "refs/stash"; static struct strbuf stash_index_path = STRBUF_INIT; /* |