summaryrefslogtreecommitdiff
path: root/msg-record-original-commit
diff options
context:
space:
mode:
Diffstat (limited to 'msg-record-original-commit')
-rwxr-xr-xmsg-record-original-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/msg-record-original-commit b/msg-record-original-commit
new file mode 100755
index 0000000..cbb96e1
--- /dev/null
+++ b/msg-record-original-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
+# commit message filter used with git-filter-branch to record the original commit ID
+cat
+echo "\nOriginally-Committed-As: $GIT_COMMIT"