Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Merge with git 1.9.2 #157

Closed
wants to merge 113 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
53ec551
expand_user_path: do not look at NULL path
peff Jan 28, 2014
67beb60
handle_path_include: don't look at NULL value
peff Jan 28, 2014
a43219f
rev-parse: check i before using argv[i] against argc
Jan 28, 2014
c4a7bce
t0003: do not chdir the whole test process
gitster Feb 6, 2014
cdbf623
check-attr: move to the top of working tree when in non-bare repository
gitster Feb 6, 2014
3bb486e
tests: auto-set LIB_HTTPD_PORT from test name
peff Feb 10, 2014
a876793
test: rename http fetch and push test files
pclouds Feb 6, 2014
32752e9
pack-protocol.txt: clarify 'obj-id' in the last ACK after 'done'
pclouds Feb 6, 2014
087e347
protocol-capabilities.txt: refer multi_ack_detailed back to pack-prot…
pclouds Feb 6, 2014
c9cd60f
protocol-capabilities.txt: document no-done
pclouds Feb 6, 2014
ff62eca
fetch-pack: fix deepen shallow over smart http with no-done cap
pclouds Feb 6, 2014
0232852
t5537: move http tests out to t5539
pclouds Feb 13, 2014
aba4727
diff: do not reuse_worktree_file for submodules
trast Feb 16, 2014
b7756d4
reset: optionally setup worktree and refresh index on --mixed
pclouds Feb 16, 2014
94eaa80
difftool: support repositories with .git-files
davvid Feb 24, 2014
7d9a281
t4212: test bogus timestamps with git-log
peff Feb 24, 2014
d4b8de0
fsck: report integer overflow in author timestamps
peff Feb 24, 2014
7ca36d9
date: check date overflow against time_t
peff Feb 24, 2014
1dca155
log: handle integer overflow in timestamps
peff Feb 24, 2014
2b15846
log: do not segfault on gmtime errors
peff Feb 24, 2014
98b406f
remote: handle pushremote config in any order
peff Feb 24, 2014
29d9af5
t3030-merge-recursive: test known breakage with empty work tree
bradking Jan 27, 2014
2e2e7ec
read-cache.c: refactor --ignore-missing implementation
bradking Jan 27, 2014
2576272
read-cache.c: extend make_cache_entry refresh flag with options
bradking Jan 27, 2014
6e2068a
merge-recursive.c: tolerate missing files while refreshing index
bradking Jan 27, 2014
429bb40
pathspec: convert some match_pathspec_depth() to ce_path_match()
pclouds Jan 24, 2014
ebb3289
pathspec: convert some match_pathspec_depth() to dir_path_match()
pclouds Jan 24, 2014
854b095
pathspec: rename match_pathspec_depth() to match_pathspec()
pclouds Jan 24, 2014
42b0874
dir.c: prepare match_pathspec_item for taking more flags
pclouds Jan 24, 2014
68690fd
match_pathspec: match pathspec "foo/" against directory "foo"
pclouds Jan 24, 2014
ae8d082
pathspec: pass directory indicator to match_pathspec_item()
pclouds Jan 24, 2014
05b8502
clean: replace match_pathspec() with dir_path_match()
pclouds Jan 24, 2014
2e70c01
clean: use cache_name_is_other()
pclouds Jan 24, 2014
fceb907
diff.c: move diffcore_skip_stat_unmatch core logic out for reuse later
pclouds Jan 25, 2014
f34b205
diff: do not quit early on stat-dirty files
pclouds Jan 25, 2014
2d4c993
stash pop: mention we did not drop the stash upon failing to apply
gitster Feb 26, 2014
0cc77c3
shallow: use stat_validity to check for up-to-date file
peff Feb 27, 2014
0179c94
shallow: automatically clean up shallow tempfiles
peff Feb 27, 2014
f377e7a
fetch: add a failing test for prunning with overlapping refspecs
carlosmn Feb 27, 2014
16216b6
i18n: proposed command missing leading dash
Mar 3, 2014
fcfec8b
t7800: add a difftool test for .git-files
gitster Mar 5, 2014
3f419d4
show_ident_date: fix tz range check
peff Mar 7, 2014
cf424f5
clean: respect pathspecs with "-d"
peff Mar 10, 2014
1f2e108
clean: simplify dir/not-dir logic
peff Mar 10, 2014
3219bad
merge hook tests: fix missing '&&' in test
benoit-pierre Mar 10, 2014
b7ae141
merge hook tests: use 'test_must_fail' instead of '!'
benoit-pierre Mar 10, 2014
89ccc1b
builtin/mv: fix out of bounds write
johnkeeping Mar 8, 2014
d52cb57
wt-status: make full label string to be subject to l10n
gitster Mar 12, 2014
335e825
wt-status: extract the code to compute width for labels
jrn Dec 19, 2013
8f17f5b
wt-status: i18n of section labels
jrn Dec 19, 2013
c7cb333
wt-status: lift the artificual "at least 20 columns" floor
gitster Mar 12, 2014
f63272a
checkout_entry(): use the strbuf throughout the function
mhagger Mar 13, 2014
2f29e0c
entry.c: fix possible buffer overflow in remove_subtree()
mhagger Mar 13, 2014
7e27173
t/lib-terminal: make TTY a lazy prerequisite
peff Mar 14, 2014
fb8a4e8
mv: prevent mismatched data when ignoring errors.
bk2204 Mar 15, 2014
47be066
rebase -i: do not "echo" random user-supplied strings
Mar 14, 2014
7839632
shallow: verify shallow file after taking lock
peff Mar 15, 2014
de983a0
index-pack: report error using the correct variable
gitster Mar 17, 2014
3c3e6f5
Documentation/merge-strategies: avoid hyphenated commands
artagnon Mar 16, 2014
91c9c86
test patch hunk editing with "commit -p -m"
benoit-pierre Mar 18, 2014
15048f8
commit: fix patch hunk editing with "commit -p -m"
benoit-pierre Mar 18, 2014
0a3beb0
merge: fix GIT_EDITOR override for commit hook
benoit-pierre Mar 18, 2014
1fc4f97
merge hook tests: fix and update tests
benoit-pierre Mar 18, 2014
b549be0
run-command: mark run_hook_with_custom_index as deprecated
benoit-pierre Mar 18, 2014
cb1aefd
test-lib.sh: do not "echo" caller-supplied strings
Mar 18, 2014
6a0556e
Merge branch 'nd/submodule-pathspec-ending-with-slash' into maint
gitster Mar 18, 2014
1030d4c
Merge branch 'nd/http-fetch-shallow-fix' into maint
gitster Mar 18, 2014
34120a5
Merge branch 'nd/diff-quiet-stat-dirty' into maint
gitster Mar 18, 2014
6f01667
Merge branch 'jk/config-path-include-fix' into maint
gitster Mar 18, 2014
c7b3173
Merge branch 'ds/rev-parse-required-args' into maint
gitster Mar 18, 2014
6d011b8
Merge branch 'bk/refresh-missing-ok-in-merge-recursive' into maint
gitster Mar 18, 2014
a8b3131
Merge branch 'jc/check-attr-honor-working-tree' into maint
gitster Mar 18, 2014
1f56977
Merge branch 'nd/reset-setup-worktree' into maint
gitster Mar 18, 2014
a5aca6e
Merge branch 'tr/diff-submodule-no-reuse-worktree' into maint
gitster Mar 18, 2014
8aac6c9
Merge branch 'jk/commit-dates-parsing-fix' into maint
gitster Mar 18, 2014
4097a25
Merge branch 'jk/remote-pushremote-config-reading' into maint
gitster Mar 18, 2014
01e13d0
Merge branch 'da/difftool-git-files' into maint
gitster Mar 18, 2014
9526473
Merge branch 'jk/clean-d-pathspec' into maint
gitster Mar 18, 2014
cee0c27
Git 1.9.1
gitster Mar 18, 2014
7a76c28
status: disable translation when --porcelain is used
moy Mar 20, 2014
e6f6371
fetch: handle overlaping refspecs on --prune
carlosmn Feb 27, 2014
ad1c3fb
diff-no-index: correctly diagnose error return from diff_opt_parse()
gitster Mar 31, 2014
a58088a
Documentation: fix misuses of "nor"
Mar 31, 2014
e34b272
contrib: fix misuses of "nor"
Mar 31, 2014
0168990
comments: fix misuses of "nor"
Mar 31, 2014
235e8d5
code and test: fix misuses of "nor"
Mar 31, 2014
6654754
date: recognize bogus FreeBSD gmtime output
peff Apr 1, 2014
f80d1f9
t4212: loosen far-in-future test for AIX
peff Apr 1, 2014
b9d56b5
update-ref: fail create operation over stdin if ref already exists
tmm1 Apr 2, 2014
0a01752
Merge branch 'jn/wt-status' into maint
gitster Apr 3, 2014
6248be7
Merge branch 'jc/stash-pop-not-popped' into maint
gitster Apr 3, 2014
9c7d0cc
Merge branch 'jk/shallow-update-fix' into maint
gitster Apr 3, 2014
3824595
Merge branch 'rr/doc-merge-strategies' into maint
gitster Apr 3, 2014
9cbd46a
Merge branch 'us/printf-not-echo' into maint
gitster Apr 3, 2014
3dd1083
Merge branch 'nd/index-pack-error-message' into maint
gitster Apr 3, 2014
e99a69d
Merge branch 'jk/lib-terminal-lazy' into maint
gitster Apr 3, 2014
a3236f4
Merge branch 'mh/remove-subtree-long-pathname-fix' into maint
gitster Apr 3, 2014
3097b68
Merge branch 'jk/mv-submodules-fix' into maint
gitster Apr 3, 2014
2f91649
Start preparing for 1.9.1
gitster Apr 3, 2014
86b4c16
Merge branch 'bp/commit-p-editor' into maint
gitster Apr 8, 2014
360f852
Merge branch 'mm/status-porcelain-format-i18n-fix' into maint
gitster Apr 8, 2014
4d7ad08
Update draft release notes to 1.9.2
gitster Apr 8, 2014
5df0514
doc/http-backend: missing accent grave in literal mark-up
tacker66 Apr 9, 2014
efb4ec6
Merge commit 'doc/http-backend: missing accent grave in literal mark-up'
gitster Apr 9, 2014
693b407
Merge branch 'jc/fix-diff-no-index-diff-opt-parse' into maint
gitster Apr 9, 2014
b8a3019
Merge branch 'jk/commit-dates-parsing-fix' into maint
gitster Apr 9, 2014
aba7af8
Merge branch 'mh/update-ref-batch-create-fix' into maint
gitster Apr 9, 2014
fbae3d9
Merge branch 'cn/fetch-prune-overlapping-destination' into maint
gitster Apr 9, 2014
3c9e56b
Merge branch 'jl/nor-or-nand-and' into maint
gitster Apr 9, 2014
0bc85ab
Git 1.9.2
gitster Apr 9, 2014
75b63e0
Merge tag 'v1.9.2' into msysgit/master
kasal Apr 10, 2014
722efef
Fix a compiler warning
kasal Apr 10, 2014
804c9a9
fixup! Work around funny CR issue
kasal Apr 10, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Documentation/CodingGuidelines
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ For shell scripts specifically (not exhaustive):
E.g.: my_function () {

- As to use of grep, stick to a subset of BRE (namely, no \{m,n\},
[::], [==], nor [..]) for portability.
[::], [==], or [..]) for portability.

- We do not use \{m,n\};

- We do not use -E;

- We do not use ? nor + (which are \{0,1\} and \{1,\}
- We do not use ? or + (which are \{0,1\} and \{1,\}
respectively in BRE) but that goes without saying as these
are ERE elements not BRE (note that \? and \+ are not even part
of BRE -- making them accessible from BRE is a GNU extension).
Expand Down
59 changes: 59 additions & 0 deletions Documentation/RelNotes/1.9.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
Git v1.9.1 Release Notes
========================

Fixes since v1.9.0
------------------

* "git clean -d pathspec" did not use the given pathspec correctly
and ended up cleaning too much.

* "git difftool" misbehaved when the repository is bound to the
working tree with the ".git file" mechanism, where a textual file
".git" tells us where it is.

* "git push" did not pay attention to branch.*.pushremote if it is
defined earlier than remote.pushdefault; the order of these two
variables in the configuration file should not matter, but it did
by mistake.

* Codepaths that parse timestamps in commit objects have been
tightened.

* "git diff --external-diff" incorrectly fed the submodule directory
in the working tree to the external diff driver when it knew it is
the same as one of the versions being compared.

* "git reset" needs to refresh the index when working in a working
tree (it can also be used to match the index to the HEAD in an
otherwise bare repository), but it failed to set up the working
tree properly, causing GIT_WORK_TREE to be ignored.

* "git check-attr" when working on a repository with a working tree
did not work well when the working tree was specified via the
--work-tree (and obviously with --git-dir) option.

* "merge-recursive" was broken in 1.7.7 era and stopped working in
an empty (temporary) working tree, when there are renames
involved. This has been corrected.

* "git rev-parse" was loose in rejecting command line arguments
that do not make sense, e.g. "--default" without the required
value for that option.

* include.path variable (or any variable that expects a path that
can use ~username expansion) in the configuration file is not a
boolean, but the code failed to check it.

* "git diff --quiet -- pathspec1 pathspec2" sometimes did not return
correct status value.

* Attempting to deepen a shallow repository by fetching over smart
HTTP transport failed in the protocol exchange, when no-done
extension was used. The fetching side waited for the list of
shallow boundary commits after the sending end stopped talking to
it.

* Allow "git cmd path/", when the 'path' is where a submodule is
bound to the top-level working tree, to match 'path', despite the
extra and unnecessary trailing slash (such a slash is often
given by command line completion).
67 changes: 67 additions & 0 deletions Documentation/RelNotes/1.9.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
Git v1.9.2 Release Notes
========================

Fixes since v1.9.1
------------------

* Documentation and in-code comments had many instances of mistaken
use of "nor", which have been corrected.

* "git fetch --prune", when the right-hand-side of multiple fetch
refspecs overlap (e.g. storing "refs/heads/*" to
"refs/remotes/origin/*", while storing "refs/frotz/*" to
"refs/remotes/origin/fr/*"), aggressively thought that lack of
"refs/heads/fr/otz" on the origin site meant we should remove
"refs/remotes/origin/fr/otz" from us, without checking their
"refs/frotz/otz" first.

Note that such a configuration is inherently unsafe (think what
should happen when "refs/heads/fr/otz" does appear on the origin
site), but that is not a reason not to be extra careful.

* "git update-ref --stdin" did not fail a request to create a ref
when the ref already existed.

* "git diff --no-index -Mq a b" fell into an infinite loop.

* When it is not necessary to edit a commit log message (e.g. "git
commit -m" is given a message without specifying "-e"), we used to
disable the spawning of the editor by overriding GIT_EDITOR, but
this means all the uses of the editor, other than to edit the
commit log message, are also affected.

* "git status --porcelain --branch" showed its output with labels
"ahead/behind/gone" translated to the user's locale.

* "git mv" that moves a submodule forgot to adjust the array that
uses to keep track of which submodules were to be moved to update
its configuration.

* Length limit for the pathname used when removing a path in a deep
subdirectory has been removed to avoid buffer overflows.

* The test helper lib-terminal always run an actual test_expect_*
when included, which screwed up with the use of skil-all that may
have to be done later.

* "git index-pack" used a wrong variable to name the keep-file in an
error message when the file cannot be written or closed.

* "rebase -i" produced a broken insn sheet when the title of a commit
happened to contain '\n' (or ended with '\c') due to a careless use
of 'echo'.

* There were a few instances of 'git-foo' remaining in the
documentation that should have been spelled 'git foo'.

* Serving objects from a shallow repository needs to write a
new file to hold the temporary shallow boundaries but it was not
cleaned when we exit due to die() or a signal.

* When "git stash pop" stops after failing to apply the stash
(e.g. due to conflicting changes), the stash is not dropped. State
that explicitly in the output to let the users know.

* The labels in "git status" output that describe the nature of
conflicts (e.g. "both deleted") were limited to 20 bytes, which was
too short for some l10n (e.g. fr).
6 changes: 3 additions & 3 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ be escaped: use `\"` for `"` and `\\` for `\`.

The following escape sequences (beside `\"` and `\\`) are recognized:
`\n` for newline character (NL), `\t` for horizontal tabulation (HT, TAB)
and `\b` for backspace (BS). No other char escape sequence, nor octal
char sequences are valid.
and `\b` for backspace (BS). Other char escape sequences (including octal
escape sequences) are invalid.

Variable values ending in a `\` are continued on the next line in the
customary UNIX fashion.
Expand Down Expand Up @@ -847,7 +847,7 @@ color.diff::
commands will only use color when output is to the terminal.
Defaults to false.
+
This does not affect linkgit:git-format-patch[1] nor the
This does not affect linkgit:git-format-patch[1] or the
'git-diff-{asterisk}' plumbing commands. Can be overridden on the
command line with the `--color[=<when>]` option.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/diff-generate-patch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ added, from the point of view of that parent).
In the above example output, the function signature was changed
from both files (hence two `-` removals from both file1 and
file2, plus `++` to mean one line that was added does not appear
in either file1 nor file2). Also eight other lines are the same
in either file1 or file2). Also eight other lines are the same
from file1 but do not appear in file2 (hence prefixed with `+`).

When shown by `git diff-tree -c`, it compares the parents of a
Expand Down
2 changes: 1 addition & 1 deletion Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ endif::git-log[]
--irreversible-delete::
Omit the preimage for deletes, i.e. print only the header but not
the diff between the preimage and `/dev/null`. The resulting patch
is not meant to be applied with `patch` nor `git apply`; this is
is not meant to be applied with `patch` or `git apply`; this is
solely for people who want to just concentrate on reviewing the
text after the change. In addition, the output obviously lack
enough information to apply such a patch in reverse, even manually,
Expand Down
2 changes: 1 addition & 1 deletion Documentation/everyday.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ that are not quite ready.
<5> create topic branch as needed and apply, again with my
sign-offs.
<6> rebase internal topic branch that has not been merged to the
master, nor exposed as a part of a stable branch.
master or exposed as a part of a stable branch.
<7> restart `pu` every time from the next.
<8> and bundle topic branches still cooking.
<9> backport a critical fix.
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ patch::

y - stage this hunk
n - do not stage this hunk
q - quit; do not stage this hunk nor any of the remaining ones
q - quit; do not stage this hunk or any of the remaining ones
a - stage this hunk and all later hunks in the file
d - do not stage this hunk nor any of the later hunks in the file
d - do not stage this hunk or any of the later hunks in the file
g - select a hunk to go to
/ - search for a hunk matching the given regex
j - leave this hunk undecided, see next undecided hunk
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-count-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
prune-packable: the number of loose objects that are also present in
the packs. These objects could be pruned using `git prune-packed`.
+
garbage: the number of files in object database that are not valid
loose objects nor valid packs
garbage: the number of files in object database that are neither valid loose
objects nor valid packs
+
size-garbage: disk space consumed by garbage files, in KiB (unless -H is
specified)
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-diff.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ $ git diff --name-status <2>
$ git diff arch/i386 include/asm-i386 <3>
------------
+
<1> Show only modification, rename and copy, but not addition
nor deletion.
<1> Show only modification, rename, and copy, but not addition
or deletion.
<2> Show only names and the nature of change, but not actual
diff output.
<3> Limit diff output to named subtrees.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-http-backend.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ ScriptAlias /git/ /var/www/cgi-bin/gitweb.cgi/
----------------------------------------------------------------

Lighttpd::
Ensure that `mod_cgi`, `mod_alias, `mod_auth`, `mod_setenv` are
Ensure that `mod_cgi`, `mod_alias`, `mod_auth`, `mod_setenv` are
loaded, then set `GIT_PROJECT_ROOT` appropriately and redirect
all requests to the CGI:
+
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-prune.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ OPTIONS
EXAMPLE
-------

To prune objects not used by your repository nor another that
To prune objects not used by your repository or another that
borrows from your repository via its
`.git/objects/info/alternates`:

Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-push.txt
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ will now start building on top of B.
The command by default does not allow an update that is not a fast-forward
to prevent such loss of history.

If you do not want to lose your work (history from X to B) nor the work by
If you do not want to lose your work (history from X to B) or the work by
the other person (history from X to A), you would need to first fetch the
history from the repository, create a history that contains changes done
by both parties, and push the result back.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-read-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ OPTIONS
-n::
--dry-run::
Check if the command would error out, without updating the index
nor the files in the working tree for real.
or the files in the working tree for real.

-v::
Show the progress of checking files out.
Expand Down
6 changes: 3 additions & 3 deletions Documentation/git-reset.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ to HEAD in all forms.

'git reset' [-q] [<tree-ish>] [--] <paths>...::
This form resets the index entries for all <paths> to their
state at <tree-ish>. (It does not affect the working tree, nor
state at <tree-ish>. (It does not affect the working tree or
the current branch.)
+
This means that `git reset <paths>` is the opposite of `git add
Expand Down Expand Up @@ -51,7 +51,7 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
+
--
--soft::
Does not touch the index file nor the working tree at all (but
Does not touch the index file or the working tree at all (but
resets the head to <commit>, just like all modes do). This leaves
all your changed files "Changes to be committed", as 'git status'
would put it.
Expand Down Expand Up @@ -115,7 +115,7 @@ and changes with these files are distracting.
<2> Somebody asks you to pull, and the changes sounds worthy of merging.
<3> However, you already dirtied the index (i.e. your index does
not match the HEAD commit). But you know the pull you are going
to make does not affect frotz.c nor filfre.c, so you revert the
to make does not affect frotz.c or filfre.c, so you revert the
index changes for these two files. Your changes in working tree
remain there.
<4> Then you can pull and merge, leaving frotz.c and filfre.c
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-show-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ and/or refs/tags) semi-visually.
It cannot show more than 29 branches and commits at a time.

It uses `showbranch.default` multi-valued configuration items if
no <rev> nor <glob> is given on the command line.
no <rev> or <glob> is given on the command line.


OPTIONS
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-show-ref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ OPTIONS
Show references matching one or more patterns. Patterns are matched from
the end of the full name, and only complete parts are matched, e.g.
'master' matches 'refs/heads/master', 'refs/remotes/origin/master',
'refs/tags/jedi/master' but not 'refs/heads/mymaster' nor
'refs/tags/jedi/master' but not 'refs/heads/mymaster' or
'refs/remotes/master/jedi'.

OUTPUT
Expand Down
4 changes: 3 additions & 1 deletion Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ unreleased) version of Git, that is available from 'master'
branch of the `git.git` repository.
Documentation for older releases are available here:

* link:v1.9.0/git.html[documentation for release 1.9.0]
* link:v1.9.2/git.html[documentation for release 1.9.2]

* release notes for
link:RelNotes/1.9.2.txt[1.9.2],
link:RelNotes/1.9.1.txt[1.9.1],
link:RelNotes/1.9.0.txt[1.9.0].

* link:v1.8.5.5/git.html[documentation for release 1.8.5.5]
Expand Down
2 changes: 1 addition & 1 deletion Documentation/howto/rebase-from-internal-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ You fetch from upstream, but not merge.
$ git fetch upstream

This leaves the updated upstream head in .git/FETCH_HEAD but
does not touch your .git/HEAD nor .git/refs/heads/master.
does not touch your .git/HEAD or .git/refs/heads/master.
You run "git rebase" now.

$ git rebase FETCH_HEAD master
Expand Down
4 changes: 2 additions & 2 deletions Documentation/howto/revert-a-faulty-merge.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ where C and D are to fix what was broken in A and B, and you may already
have some other changes on the mainline after W.

If you merge the updated side branch (with D at its tip), none of the
changes made in A nor B will be in the result, because they were reverted
changes made in A or B will be in the result, because they were reverted
by W. That is what Alan saw.

Linus explains the situation:
Expand Down Expand Up @@ -90,7 +90,7 @@ with:
$ git revert W

This history would (ignoring possible conflicts between what W and W..Y
changed) be equivalent to not having W nor Y at all in the history:
changed) be equivalent to not having W or Y at all in the history:

---o---o---o---M---x---x-------x----
/
Expand Down
2 changes: 1 addition & 1 deletion Documentation/howto/revert-branch-rebase.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ $ make clean test ;# make sure it did not cause other breakage.
------------------------------------------------

Everything is in the good order. I do not need the temporary branch
nor tag anymore, so remove them:
or tag anymore, so remove them:

------------------------------------------------
$ rm -f .git/refs/tags/pu-anchor
Expand Down
15 changes: 7 additions & 8 deletions Documentation/merge-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@ merge.

--squash::
--no-squash::
Produce the working tree and index state as if a real
merge happened (except for the merge information),
but do not actually make a commit or
move the `HEAD`, nor record `$GIT_DIR/MERGE_HEAD` to
cause the next `git commit` command to create a merge
commit. This allows you to create a single commit on
top of the current branch whose effect is the same as
merging another branch (or more in case of an octopus).
Produce the working tree and index state as if a real merge
happened (except for the merge information), but do not actually
make a commit, move the `HEAD`, or record `$GIT_DIR/MERGE_HEAD`
(to cause the next `git commit` command to create a merge
commit). This allows you to create a single commit on top of
the current branch whose effect is the same as merging another
branch (or more in case of an octopus).
+
With --no-squash perform the merge and commit the result. This
option can be used to override --squash.
Expand Down
4 changes: 2 additions & 2 deletions Documentation/merge-strategies.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
MERGE STRATEGIES
----------------

The merge mechanism ('git-merge' and 'git-pull' commands) allows the
The merge mechanism (`git merge` and `git pull` commands) allows the
backend 'merge strategies' to be chosen with `-s` option. Some strategies
can also take their own options, which can be passed by giving `-X<option>`
arguments to 'git-merge' and/or 'git-pull'.
arguments to `git merge` and/or `git pull`.

resolve::
This can only resolve two heads (i.e. the current branch
Expand Down
2 changes: 1 addition & 1 deletion Documentation/pretty-formats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The 'raw' format shows the entire commit exactly as
stored in the commit object. Notably, the SHA-1s are
displayed in full, regardless of whether --abbrev or
--no-abbrev are used, and 'parents' information show the
true parent commits, without taking grafts nor history
true parent commits, without taking grafts or history
simplification into account.

* 'format:<string>'
Expand Down
Loading