Skip to content

Commit 3e08f5d

Browse files
committed
Merge branch 'maint-1.5.4' into maint
* maint-1.5.4: wt-status.h: declare global variables as extern builtin-commit.c: add -u as short name for --untracked-files git-repack: re-enable parsing of -n command line option
2 parents 32a27b5 + 32efcd9 commit 3e08f5d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

builtin-commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static struct option builtin_commit_options[] = {
101101
OPT_BOOLEAN('o', "only", &only, "commit only specified files"),
102102
OPT_BOOLEAN('n', "no-verify", &no_verify, "bypass pre-commit hook"),
103103
OPT_BOOLEAN(0, "amend", &amend, "amend previous commit"),
104-
OPT_BOOLEAN(0, "untracked-files", &untracked_files, "show all untracked files"),
104+
OPT_BOOLEAN('u', "untracked-files", &untracked_files, "show all untracked files"),
105105
OPT_BOOLEAN(0, "allow-empty", &allow_empty, "ok to record an empty change"),
106106
OPT_STRING(0, "cleanup", &cleanup_arg, "default", "how to strip spaces and #comments from message"),
107107

git-repack.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ a pack everything in a single pack
1111
A same as -a, and keep unreachable objects too
1212
d remove redundant packs, and run git-prune-packed
1313
f pass --no-reuse-delta to git-pack-objects
14+
n do not run git-update-server-info
1415
q,quiet be quiet
1516
l pass --local to git-pack-objects
1617
Packing constraints

wt-status.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ struct wt_status {
2828
};
2929

3030
int git_status_config(const char *var, const char *value);
31-
int wt_status_use_color;
32-
int wt_status_relative_paths;
31+
extern int wt_status_use_color;
32+
extern int wt_status_relative_paths;
3333
void wt_status_prepare(struct wt_status *s);
3434
void wt_status_print(struct wt_status *s);
3535

0 commit comments

Comments
 (0)