From 79c956164708bb1482ceb863a6ef26a8fe12905c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 21 Feb 2015 19:40:13 +0300 Subject: [PATCH] Escape inner quotes --- touch-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/touch-all b/touch-all index a4be8c6..d1035e0 100755 --- a/touch-all +++ b/touch-all @@ -4,5 +4,5 @@ # and set the file's modification time to that date/time. git ls-tree -r --name-only HEAD | while read filename; do - touch --date="`git log -1 --format="%cD" -- $filename`" "$filename" + touch --date="`git log -1 --format=\"%cD\" -- $filename`" "$filename" done -- 2.39.5