aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-12-22 13:22:09 -0800
committerSeongJae Park <sj@kernel.org>2023-12-22 13:22:09 -0800
commita62572d512e579e27df9bdbe4145485547df77f2 (patch)
tree3eef07edcfd6c58d0557c7f0e4e1e1eee674fbca
parente6f86c9626d727f9e1a1edc9c612369dd3202548 (diff)
downloaddamon-hack-a62572d512e579e27df9bdbe4145485547df77f2.tar.gz
rebase_damon_next_on_mm_unstable: Get exact commit id of old mm-unstable
Signed-off-by: SeongJae Park <sj@kernel.org>
-rwxr-xr-xrebase_damon_next_on_mm_unstable.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebase_damon_next_on_mm_unstable.sh b/rebase_damon_next_on_mm_unstable.sh
index d0a4d51..df1a63c 100755
--- a/rebase_damon_next_on_mm_unstable.sh
+++ b/rebase_damon_next_on_mm_unstable.sh
@@ -23,7 +23,7 @@ else
if [ "$(git log -1 "$commit" --pretty=%s)" = \
"=== mark start of DAMON hack tree ===" ]
then
- old_mm_unstable="$(git rev-parse commit^)"
+ old_mm_unstable="$(git rev-parse "$commit"^)"
break
fi
done