FETCH_HEAD question
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Feb 17, 2009, 04:43 UTC
- Message-ID
- <76718490902162043k78e615b5g7ba4b7ac95e73b18@mail.gmail.com>
I did this the other day out of mild curiosity:
$ git fetch $ git merge FETCH_HEAD
Which did something, but not something that was at all useful. It merges in the first ref listed in FETCH_HEAD. It does not appear to be an accident that it does this, as git merge has special treatment for FETCH_HEAD to generate the merge message.
Why does this behavior exist? Historical?
j.