On Thu, Apr 15, 2010 at 8:06 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
mkdir testy
cd testy
git init
cp /etc/profile .
git add profile
git commit -m root
git checkout -b a master
cat /etc/profile >>profile
git commit -a -m test1
git checkout -b b master
cat /etc/profile | tr A-Za-z a-zA-Z >profile
git commit -a -m test1b
git merge a
# produces a conflict
true >profile # blank the file
git commit -a -m resolved
git show HEAD:profile
# no output
Note that if you instead replace the file with a nonempty (but
different) file, you get something appropriate as the output.
Have fun,
Avery
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html