This makes git-fetch <URL> && git-merge FETCH_HEAD produce same merge message as git-pull <URL> Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il> ---Is this OK? diff --git a/git-merge.sh b/git-merge.sh index 8759c5a..417bf33 100755 --- a/git-merge.sh +++ b/git-merge.sh @@ -108,6 +108,10 @@ merge_name () { git-show-ref -q --verify "refs/heads/$truname" 2>/dev/null then echo "$rh branch '$truname' (early part) of ." + elif test "$remote" = "FETCH_HEAD" -a -r "$GIT_DIR/FETCH_HEAD" + then + sed -e 's/ not-for-merge / /' -e 1q\ + "$GIT_DIR/FETCH_HEAD" else echo "$rh commit '$remote'" fi -- MST - 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
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Tim Tassonis | reiser4 for 2.6.27-rc1 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Peter Zijlstra | [PATCH 6/6] sched: disabled rt-bandwidth by default |
git: | |
| Alex Riesen | Re: question about git-submodule |
| Greg KH | Re: [ANNOUNCE] pg - A patch porcelain for GIT |
| Nicolas Pitre | Re: git-index-pack really does suck.. |
| Bill Lear | Meaning of "fatal: protocol error: bad line length character"? |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Matt | Setting up a virtual hosting machine w. SSH/SFTP accounts - pitfalls/experiences? |
| Marco Peereboom | Re: Real men don't attack straw men |
| bsd_news | LC_COLLATE and PostgreSQL |
| Eric Sandeen | Re: [RFC] Heads up on sys_fallocate() |
| John Stoffel | Re: [PATCH] LogFS take three |
| Al Boldi | Re: [RFD] Incremental fsck |
| Alex Zarochentsev | Re: silent semantic changes with reiser4 |
