Skip to content

Commit

Permalink
git-P: Retain commit date
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Aug 4, 2023
1 parent d94279b commit aa0cc93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-P
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ C_ARG=""
P_ARG=""
if [ -n "$AMEND" ]; then
C_ARG="$C_ARG --amend"
export GIT_COMMITTER_DATE="$(git log -1 --pretty=tformat:%cD)"
fi
if [ -n "$NOEDIT" ]; then
C_ARG="$C_ARG --no-edit"
Expand Down

0 comments on commit aa0cc93

Please sign in to comment.