Commit 7882fa22 authored by brian m. carlson's avatar brian m. carlson Committed by Junio C Hamano

merge-one-file: compute empty blob object ID

This script hard-codes the object ID of the empty blob.  To avoid any
problems when changing hashes, compute this value by calling git
Signed-off-by: brian m. carlson's avatarbrian m. carlson <>
Signed-off-by: default avatarJunio C Hamano <>
parent 23ec4c51
......@@ -120,7 +120,7 @@ case "${1:-.}${2:-.}${3:-.}" in
case "$1" in
echo "Added $4 in both, but differently."
orig=$(git unpack-file e69de29bb2d1d6434b8b29ae775ad8c2e48c5391)
orig=$(git unpack-file $(git hash-object /dev/null))
echo "Auto-merging $4"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment