diff options
author | 2021-02-22 16:12:42 -0800 | |
---|---|---|
committer | 2021-02-22 16:12:42 -0800 | |
commit | b9554c03a0a8147109608b94feb32837a6e6a145 (patch) | |
tree | 403059f744c33c6d096a2031d019738d0dea3e67 /builtin | |
parent | The ninth batch (diff) | |
parent | stash: declare ref_stash as an array (diff) | |
download | tgif-b9554c03a0a8147109608b94feb32837a6e6a145.tar.xz |
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 9bc85f91cd..6f2b58f6ab 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; /* |