Skip to content

Commit 42ee88b

Browse files
committed
fixup! Merge 'ps/stash-in-c'
Let's drop an older version of this, in preparation for merging a newer version in the next commit. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 020e7c4 commit 42ee88b

File tree

9 files changed

+821
-237
lines changed

9 files changed

+821
-237
lines changed

Documentation/git-stash.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SYNOPSIS
99
--------
1010
[verse]
1111
'git stash' list [<options>]
12-
'git stash' show [<options>] [<stash>]
12+
'git stash' show [<stash>]
1313
'git stash' drop [-q|--quiet] [<stash>]
1414
'git stash' ( pop | apply ) [--index] [-q|--quiet] [<stash>]
1515
'git stash' branch <branchname> [<stash>]
@@ -106,7 +106,7 @@ stash@{1}: On master: 9cc0589... Add git-stash
106106
The command takes options applicable to the 'git log'
107107
command to control what is shown and how. See linkgit:git-log[1].
108108

109-
show [<options>] [<stash>]::
109+
show [<stash>]::
110110

111111
Show the changes recorded in the stash entry as a diff between the
112112
stashed contents and the commit back when the stash entry was first

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ SCRIPT_SH += git-legacy-rebase.sh
618618
SCRIPT_SH += git-legacy-stash.sh
619619
SCRIPT_SH += git-remote-testgit.sh
620620
SCRIPT_SH += git-request-pull.sh
621+
SCRIPT_SH += git-stash.sh
621622
SCRIPT_SH += git-submodule.sh
622623
SCRIPT_SH += git-web--browse.sh
623624

@@ -1098,7 +1099,6 @@ BUILTIN_OBJS += builtin/shortlog.o
10981099
BUILTIN_OBJS += builtin/show-branch.o
10991100
BUILTIN_OBJS += builtin/show-index.o
11001101
BUILTIN_OBJS += builtin/show-ref.o
1101-
BUILTIN_OBJS += builtin/stash.o
11021102
BUILTIN_OBJS += builtin/stripspace.o
11031103
BUILTIN_OBJS += builtin/submodule--helper.o
11041104
BUILTIN_OBJS += builtin/symbolic-ref.o

builtin.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ extern int cmd_show(int argc, const char **argv, const char *prefix);
224224
extern int cmd_show_branch(int argc, const char **argv, const char *prefix);
225225
extern int cmd_show_index(int argc, const char **argv, const char *prefix);
226226
extern int cmd_status(int argc, const char **argv, const char *prefix);
227-
extern int cmd_stash(int argc, const char **argv, const char *prefix);
228227
extern int cmd_stripspace(int argc, const char **argv, const char *prefix);
229228
extern int cmd_submodule__helper(int argc, const char **argv, const char *prefix);
230229
extern int cmd_symbolic_ref(int argc, const char **argv, const char *prefix);

cache.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,6 @@ struct object_context {
13121312
GET_OID_BLOB)
13131313

13141314
extern int get_oid(const char *str, struct object_id *oid);
1315-
extern int get_oidf(struct object_id *oid, const char *fmt, ...);
13161315
extern int get_oid_commit(const char *str, struct object_id *oid);
13171316
extern int get_oid_committish(const char *str, struct object_id *oid);
13181317
extern int get_oid_tree(const char *str, struct object_id *oid);

0 commit comments

Comments
 (0)