[Libreoffice-commits] dev-tools.git: git-hooks/core.git git-hooks/dictionaries.git git-hooks/help.git git-hooks/translations.git

Miklos Vajna vmiklos at suse.cz
Fri Apr 19 08:38:24 PDT 2013


 git-hooks/core.git/hooks/update         |    2 +-
 git-hooks/dictionaries.git/hooks/update |    2 +-
 git-hooks/help.git/hooks/update         |    2 +-
 git-hooks/translations.git/hooks/update |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e6142d89ecaef481c6dc3403f36efc2697aed35d
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Fri Apr 19 17:37:52 2013 +0200

    git-hooks: use git show -M to detect renames
    
    Change-Id: I7a0663bbdcd88e40f1d8aeab077c37e595418136

diff --git a/git-hooks/core.git/hooks/update b/git-hooks/core.git/hooks/update
index 5ee351f..b23aee5 100755
--- a/git-hooks/core.git/hooks/update
+++ b/git-hooks/core.git/hooks/update
@@ -121,7 +121,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
diff --git a/git-hooks/dictionaries.git/hooks/update b/git-hooks/dictionaries.git/hooks/update
index 5ee351f..b23aee5 100755
--- a/git-hooks/dictionaries.git/hooks/update
+++ b/git-hooks/dictionaries.git/hooks/update
@@ -121,7 +121,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
diff --git a/git-hooks/help.git/hooks/update b/git-hooks/help.git/hooks/update
index 5ee351f..b23aee5 100755
--- a/git-hooks/help.git/hooks/update
+++ b/git-hooks/help.git/hooks/update
@@ -121,7 +121,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
diff --git a/git-hooks/translations.git/hooks/update b/git-hooks/translations.git/hooks/update
index 5ee351f..b23aee5 100755
--- a/git-hooks/translations.git/hooks/update
+++ b/git-hooks/translations.git/hooks/update
@@ -121,7 +121,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then


More information about the Libreoffice-commits mailing list