Return-Path: X-Original-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4CB01006C for ; Mon, 22 Jul 2013 14:49:52 +0000 (UTC) Received: (qmail 10540 invoked by uid 500); 22 Jul 2013 14:49:52 -0000 Delivered-To: apmail-incubator-allura-dev-archive@incubator.apache.org Received: (qmail 10479 invoked by uid 500); 22 Jul 2013 14:49:52 -0000 Mailing-List: contact allura-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-dev@incubator.apache.org Received: (qmail 10471 invoked by uid 99); 22 Jul 2013 14:49:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 14:49:51 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of noreply@sourceforge.net designates 216.34.181.60 as permitted sender) Received: from [216.34.181.60] (HELO smtp.ch3.sourceforge.com) (216.34.181.60) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 14:49:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.com; s=x; h=Date:Message-ID:Subject:Reply-To:From:To:MIME-Version:Content-Type; bh=wFrRUTakU9dayzc97HRLYtAEuGK3fMb+jgmrFXrPp7Y=; b=qZt0vviSJFHSwHXI+xh46bIhR8PGM2+Hj3ZtPk70j/bWAeHwzoa2qVynWMMVZD5DwzcUbXEkt3ST4+sen4gZgcF+zPC5zq8uEm9ArDfdXWheAjgdu7pTh07aGqDvRv+XGmGsU5q8DMUZmF4U5ySmIFfAcL5g10wfGwwFwAi6lAE=; Received: from localhost ([127.0.0.1] helo=sfs-alluradaemon-2.v29.ch3.sourceforge.com) by sfs-alluradaemon-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V1HQR-0000w9-Nk for allura-dev@incubator.apache.org; Mon, 22 Jul 2013 14:49:23 +0000 Content-Type: multipart/related; boundary="===============4519966112993012759==" MIME-Version: 1.0 To: "[allura:tickets] " <4665@tickets.allura.p.re.sf.net> From: "Dave Brondsema" Reply-To: "[allura:tickets] " <4665@tickets.allura.p.re.sf.net> Subject: [allura:tickets] #4665 Git merge instructions don't take source branch into account Message-ID:

Date: Mon, 22 Jul 2013 14:49:23 +0000 X-Virus-Checked: Checked by ClamAV on apache.org --===============4519966112993012759== Content-Type: multipart/alternative; boundary="===============7209568878526669552==" MIME-Version: 1.0 --===============7209568878526669552== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit - **labels**: merge-requests --> merge-requests, 42cc --- ** [tickets:#4665] Git merge instructions don't take source branch into account** **Status:** open **Labels:** merge-requests 42cc **Created:** Tue Aug 07, 2012 03:31 PM UTC by Dave Brondsema **Last Updated:** Fri Jun 28, 2013 04:48 PM UTC **Owner:** nobody If you have a forked repo, and make changes on a non-master branch (e.g. dev), and request a merge, the git instructions that are shown to the merger don't work. Specifically, the "git merge" command fails because it doesn't know about the commit because the "git fetch" command only fetches master and not the branch (e.g. dev). "git fetch /repo/url dev" would work but we don't store the source branch (dev) on the MergeRequest artifact. Maybe "git fetch /repo/url commit-hash" would work, but that is somewhat verbose. This should be tested (using multiple commits on a non-master branch) and then the best set of commands should be established. --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. --===============7209568878526669552== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
  • labels: merge-requests --> merge-requests, 42cc

[tickets:#4665] Git merge instructions don't take source branch into account

Status: open
Labels: merge-requests 42cc
Created: Tue Aug 07, 2012 03:31 PM UTC by Dave Brondsema
Last Updated: Fri Jun 28, 2013 04:48 PM UTC
Owner: nobody

If you have a forked repo, and make changes on a non-master branch (e.g. dev), and request a merge, the git instructions that are shown to the merger don't work. Specifically, the "git merge" command fails because it doesn't know about the commit because the "git fetch" command only fetches master and not the branch (e.g. dev). "git fetch /repo/url dev" would work but we don't store the source branch (dev) on the MergeRequest artifact. Maybe "git fetch /repo/url commit-hash" would work, but that is somewhat verbose.

This should be tested (using multiple commits on a non-master branch) and then the best set of commands should be established.


Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

--===============7209568878526669552==-- --===============4519966112993012759==--