aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-06-19 16:30:48 -0700
committerJunio C Hamano <gitster@pobox.com>2008-06-19 16:30:48 -0700
commitd3e977b943b3562021b892f1c8f966655785708a (patch)
tree13175e8b425489c2f4bbf7196e5475fe16fd7ab3
parent5e2c08c6f0209e94b36d0770abae1a2b571cb0f1 (diff)
parent3b2bbe9b8584947e33e9149f605149530faa7361 (diff)
downloadgit-d3e977b943b3562021b892f1c8f966655785708a.tar.gz
git-d3e977b943b3562021b892f1c8f966655785708a.tar.xz
Merge branch 'maint'
* maint: Documentation: fix formatting in git-svn t7502-commit.sh: test_must_fail doesn't work with inline environment variables completion: add --graph to log command completion git-merge.sh: fix typo in usage message: sucesses --> succeeds
-rw-r--r--Documentation/git-svn.txt3
-rwxr-xr-xcontrib/completion/git-completion.bash1
-rwxr-xr-xgit-merge.sh2
-rwxr-xr-xt/t7502-commit.sh6
4 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index f4cbd2f21..97bed54fb 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -448,6 +448,8 @@ svn-remote.<name>.rewriteRoot::
the repository with a public http:// or svn:// URL in the
metadata so users of it will see the public URL.
+--
+
Since the noMetadata, rewriteRoot, useSvnsyncProps and useSvmProps
options all affect the metadata generated and used by git-svn; they
*must* be set in the configuration file before any history is imported
@@ -456,7 +458,6 @@ and these settings should never be changed once they are set.
Additionally, only one of these four options can be used per-svn-remote
section because they affect the 'git-svn-id:' metadata line.
---
BASIC EXAMPLES
--------------
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 2141b6b6b..0eb8df020 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -761,6 +761,7 @@ _git_log ()
--pretty= --name-status --name-only --raw
--not --all
--left-right --cherry-pick
+ --graph
"
return
;;
diff --git a/git-merge.sh b/git-merge.sh
index 5fc5f5201..8026ccff4 100755
--- a/git-merge.sh
+++ b/git-merge.sh
@@ -13,7 +13,7 @@ n don't show a diffstat at the end of the merge
summary (synonym to --stat)
log add list of one-line log to merge commit message
squash create a single commit instead of doing a merge
-commit perform a commit if the merge sucesses (default)
+commit perform a commit if the merge succeeds (default)
ff allow fast forward (default)
s,strategy= merge strategy to use
m,message= message to be used for the merge commit (if any)
diff --git a/t/t7502-commit.sh b/t/t7502-commit.sh
index ed871a6b4..c25eff9e4 100755
--- a/t/t7502-commit.sh
+++ b/t/t7502-commit.sh
@@ -212,7 +212,11 @@ test_expect_success 'do not fire editor in the presence of conflicts' '
# Must fail due to conflict
test_must_fail git cherry-pick -n master &&
echo "editor not started" >.git/result &&
- test_must_fail GIT_EDITOR="$(pwd)/.git/FAKE_EDITOR" git commit &&
+ (
+ GIT_EDITOR="$(pwd)/.git/FAKE_EDITOR" &&
+ export GIT_EDITOR &&
+ test_must_fail git commit
+ ) &&
test "$(cat .git/result)" = "editor not started"
'