Skip to content

Commit 84cdd3c

Browse files
committed
Merge branch 'maint'
* maint: Add reference for status letters in documentation. Document that git-log takes --all-match. Update draft 1.6.0.4 release notes
2 parents 275ee50 + a5a323f commit 84cdd3c

File tree

4 files changed

+39
-8
lines changed

4 files changed

+39
-8
lines changed

Documentation/RelNotes-1.6.0.4.txt

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,37 @@ GIT v1.6.0.4 Release Notes
44
Fixes since v1.6.0.3
55
--------------------
66

7-
* 'git-add -p' said "No changes" when only binary files were changed.
7+
* 'git add -p' said "No changes" when only binary files were changed.
88

9-
* git-archive did not work correctly in bare repositories.
9+
* 'git archive' did not work correctly in bare repositories.
10+
11+
* 'git checkout -t -b newbranch' when you are on detached HEAD was broken.
1012

1113
* when we refuse to detect renames because there are too many new or
12-
deleted files, we did not say how many there are.
14+
deleted files, 'git diff' did not say how many there are.
1315

14-
* 'git-push --mirror' tried and failed to push the stash; there is no
16+
* 'git push --mirror' tried and failed to push the stash; there is no
1517
point in sending it to begin with.
1618

17-
* 'git-send-email' had a small fd leak while scanning directory.
19+
* 'git pull $there $branch:$current_branch' did not work when you were on
20+
a branch yet to be born.
21+
22+
* when giving up resolving a conflicted merge, 'git reset --hard' failed
23+
to remove new paths from the working tree.
24+
25+
* 'git send-email' had a small fd leak while scanning directory.
26+
27+
* 'git status' incorrectly reported a submodule directory as an untracked
28+
directory.
1829

19-
* git-svn used deprecated 'git-foo' form of subcommand invocaition.
30+
* 'git svn' used deprecated 'git-foo' form of subcommand invocaition.
2031

2132
* Plugged small memleaks here and there.
2233

2334
* Also contains many documentation updates.
2435

2536
--
2637
exec >/var/tmp/1
27-
O=v1.6.0.3-22-gc2163c6
38+
O=v1.6.0.3-34-gf6276b7
2839
echo O=$(git describe maint)
2940
git shortlog --no-merges $O..maint

Documentation/diff-format.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,22 @@ That is, from the left to the right:
4646
. path for "dst"; only exists for C or R.
4747
. an LF or a NUL when '-z' option is used, to terminate the record.
4848

49+
Possible status letters are:
50+
51+
- A: addition of a file
52+
- C: copy of a file into a new one
53+
- D: deletion of a file
54+
- M: modification of the contents or mode of a file
55+
- R: renaming of a file
56+
- T: change in the type of the file
57+
- U: file is unmerged (you must complete the merge before it can
58+
be committed)
59+
- X: "unknown" change type (most probably a bug, please report it)
60+
61+
Status letters C and M are always followed by a score (denoting the
62+
percentage of similarity between the source and target of the move or
63+
copy), and are the only ones to be so.
64+
4965
<sha1> is shown as all 0's if a file is new on the filesystem
5066
and it is out of sync with the index.
5167

Documentation/rev-list-options.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ endif::git-rev-list[]
174174
Limit the commits output to ones with log message that
175175
matches the specified pattern (regular expression).
176176

177+
--all-match::
178+
Limit the commits output to ones that match all given --grep,
179+
--author and --committer instead of ones that match at least one.
180+
177181
-i::
178182
--regexp-ignore-case::
179183

diffcore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct diff_filepair {
6262
struct diff_filespec *one;
6363
struct diff_filespec *two;
6464
unsigned short int score;
65-
char status; /* M C R N D U (see Documentation/diff-format.txt) */
65+
char status; /* M C R A D U etc. (see Documentation/diff-format.txt or DIFF_STATUS_* in diff.h) */
6666
unsigned broken_pair : 1;
6767
unsigned renamed_pair : 1;
6868
unsigned is_unmerged : 1;

0 commit comments

Comments
 (0)