; Fix issues running gitmerge
* .gitattributes: Ignore whitespace issues in java/INSTALL. * build-aux/git-hooks/pre-commit (git_diff): Explicitly allow "ChangeLog.android". * java/README: Remove extra trailing newline.
This commit is contained in:
parent
b7bd7e92a9
commit
0df2efa4d6
3 changed files with 7 additions and 1 deletions
4
.gitattributes
vendored
4
.gitattributes
vendored
|
@ -116,3 +116,7 @@ build-aux/msys-to-w32 diff=shell
|
|||
build-aux/update-subdirs diff=shell
|
||||
lib-src/rcs2log diff=shell
|
||||
/make-dist diff=shell
|
||||
|
||||
# This file contains in-line diffs, which can include trailing
|
||||
# whitespace.
|
||||
java/INSTALL -whitespace
|
||||
|
|
|
@ -60,6 +60,9 @@ while IFS= read -r new_name; do
|
|||
-* | */-*)
|
||||
echo "$new_name: File name component begins with '-'."
|
||||
exit 1;;
|
||||
ChangeLog.android)
|
||||
# This file is explicitly ok.
|
||||
;;
|
||||
ChangeLog | */ChangeLog)
|
||||
echo "$new_name: Please use git commit messages, not ChangeLog files."
|
||||
exit 1;;
|
||||
|
|
|
@ -1046,4 +1046,3 @@ public class Foo
|
|||
{
|
||||
Object bar;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue