From 337e1272b146c86cc8426f408e441d3600483c60 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sun, 17 Dec 2023 15:42:07 +0000 Subject: [PATCH] Fix typos. --- gitattributsdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitattributsdb b/gitattributsdb index 4878856..2046b94 100755 --- a/gitattributsdb +++ b/gitattributsdb @@ -155,7 +155,7 @@ restore_attributes() { elif [[ "$PLATFORM" == "Darwin" ]]; then touch -m -d "$(date -j -r "${DB_MTIMES[$ID]%.*}" +"%Y-%m-%dT%H:%M:%S.${DB_MTIMES[$ID]#*.}")" -- "$FILE" 2>/dev/null || \ warn "Failed to restore mtime: $FILE" - touch -a -d "$(date -j -r "${DB_MTIMES[$ID]%.*}" +"%Y-%m-%dT%H:%M:%S.${DB_MTIMES[$ID]#*.}")" -- "$FILE" 2>/dev/null || \ + touch -a -d "$(date -j -r "${DB_ATIMES[$ID]%.*}" +"%Y-%m-%dT%H:%M:%S.${DB_ATIMES[$ID]#*.}")" -- "$FILE" 2>/dev/null || \ warn "Failed to restore atime: $FILE" fi