diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-06-30 22:45:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-30 22:45:22 +0200 |
commit | 7e46f19a105f3798b03ac3887f45034fbfdff676 (patch) | |
tree | f258b34d49b1e01d41e6de033e091335359cb9a8 /wt-status.h | |
parent | Merge branch 'ab/die-errors-in-threaded' (diff) | |
parent | status: contextually notify user about an initial commit (diff) | |
download | git-7e46f19a105f3798b03ac3887f45034fbfdff676.tar.xz git-7e46f19a105f3798b03ac3887f45034fbfdff676.zip |
Merge branch 'ks/status-initial-commit'
"git status" has long shown essentially the same message as "git
commit"; the message it gives while preparing for the root commit,
i.e. "Initial commit", was hard to understand for some new users.
Now it says "No commits yet" to stress more on the current status
(rather than the commit the user is preparing for, which is more in
line with the focus of "git commit").
* ks/status-initial-commit:
status: contextually notify user about an initial commit
Diffstat (limited to 'wt-status.h')
-rw-r--r-- | wt-status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h index d8ae2e590d..64f4d33ea1 100644 --- a/wt-status.h +++ b/wt-status.h @@ -76,6 +76,7 @@ struct wt_status { char color_palette[WT_STATUS_MAXSLOT][COLOR_MAXLEN]; unsigned colopts; int null_termination; + int commit_template; int show_branch; int show_stash; int hints; |