; 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:
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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user