aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-01-05 16:10:52 -0800
committerJunio C Hamano <gitster@pobox.com>2009-01-05 16:10:52 -0800
commite9b852310ebc271bdd71bb3b980e77325ad7f75f (patch)
tree759df44de42df45f2d498e179468c38c9cb11825
parentd75307084da5f89329de190bb9b4a3196cec1d0e (diff)
parent0ddd93b2717d4da074485d42a08e4d3824580afe (diff)
downloadgit-e9b852310ebc271bdd71bb3b980e77325ad7f75f.tar.gz
git-e9b852310ebc271bdd71bb3b980e77325ad7f75f.tar.xz
Merge branch 'maint'
* maint: Be consistent in switch usage for tar Use capitalized names where appropriate fast-export: print usage when no options specified
-rw-r--r--Documentation/gittutorial.txt4
-rw-r--r--Documentation/user-manual.txt6
-rw-r--r--builtin-fast-export.c3
3 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt
index 7892244ef..458fafdb2 100644
--- a/Documentation/gittutorial.txt
+++ b/Documentation/gittutorial.txt
@@ -590,7 +590,7 @@ list. When the history has lines of development that diverged and
then merged back together, the order in which 'git-log' presents
those commits is meaningless.
-Most projects with multiple contributors (such as the linux kernel,
+Most projects with multiple contributors (such as the Linux kernel,
or git itself) have frequent merges, and 'gitk' does a better job of
visualizing their history. For example,
@@ -642,7 +642,7 @@ digressions that may be interesting at this point are:
* linkgit:git-format-patch[1], linkgit:git-am[1]: These convert
series of git commits into emailed patches, and vice versa,
- useful for projects such as the linux kernel which rely heavily
+ useful for projects such as the Linux kernel which rely heavily
on emailed patches.
* linkgit:git-bisect[1]: When there is a regression in your
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index d4b1e90f9..19f571ae3 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -59,7 +59,7 @@ project in mind, here are some interesting examples:
------------------------------------------------
# git itself (approx. 10MB download):
$ git clone git://git.kernel.org/pub/scm/git/git.git
- # the linux kernel (approx. 150MB download):
+ # the Linux kernel (approx. 150MB download):
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
------------------------------------------------
@@ -1009,7 +1009,7 @@ $ git init
If you have some initial content (say, a tarball):
-------------------------------------------------
-$ tar -xzvf project.tar.gz
+$ tar xzvf project.tar.gz
$ cd project
$ git init
$ git add . # include everything below ./ in the first commit:
@@ -1340,7 +1340,7 @@ These will display all commits which exist only on HEAD or on
MERGE_HEAD, and which touch an unmerged file.
You may also use linkgit:git-mergetool[1], which lets you merge the
-unmerged files using external tools such as emacs or kdiff3.
+unmerged files using external tools such as Emacs or kdiff3.
Each time you resolve the conflicts in a file and update the index:
diff --git a/builtin-fast-export.c b/builtin-fast-export.c
index 838633808..e9ee2c79a 100644
--- a/builtin-fast-export.c
+++ b/builtin-fast-export.c
@@ -497,6 +497,9 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix)
OPT_END()
};
+ if (argc == 1)
+ usage_with_options (fast_export_usage, options);
+
/* we handle encodings */
git_config(git_default_config, NULL);