Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5ACEF3FE for ; Sat, 30 Mar 2013 15:21:02 +0000 (UTC) Received: (qmail 80258 invoked by uid 500); 30 Mar 2013 15:21:02 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 80219 invoked by uid 500); 30 Mar 2013 15:21:02 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 80195 invoked by uid 99); 30 Mar 2013 15:21:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Mar 2013 15:21:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Alex.Huang@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Mar 2013 15:20:55 +0000 X-IronPort-AV: E=Sophos;i="4.87,378,1363132800"; d="scan'208";a="15749905" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 30 Mar 2013 15:20:33 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.73]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Sat, 30 Mar 2013 08:20:33 -0700 From: Alex Huang To: "dev@cloudstack.apache.org" Date: Sat, 30 Mar 2013 08:20:34 -0700 Subject: RE: [DISCUSS] git rebase vs git merge in your feature branch? Thread-Topic: [DISCUSS] git rebase vs git merge in your feature branch? Thread-Index: Ac4s03ym+wjdP7moTCaid4rpGTnzwwAhdEFA Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Dave and I have talked on IRC at one point about this. We both thought fea= ture branch merges should come in as a squashed commit because it's easier = to see exactly what the changes that merge branch brought in were and easie= r to revert. Something to consider when talking about this. --Alex > -----Original Message----- > From: Edison Su [mailto:Edison.su@citrix.com] > Sent: Friday, March 29, 2013 4:36 PM > To: dev@cloudstack.apache.org > Subject: [DISCUSS] git rebase vs git merge in your feature branch? >=20 > Hi all, > I am trying to review some feature branches, when I see merge reques= ts > coming from mailing list, one thing that makes code review almost unreali= stic > is that, developers tend to use "git merge" to master branch whenever > rebase is needed. I don't know other people really do review feature bran= ch > or not, if so, how to review a feature branch, with several "merge branch > "master"" on the feature branch. I really don't find a better way to do = that. > If, all we use "git rebase" to master branch, then the code review wi= ll be > much easier, at least, what kind of commits you did on the feature branch > can be easily identified. For example, I worked on storage_refactor branc= h > for a few months, with a lot of changes, before sending out merge request= , > there are only less than 10 commits on the branch, reviewer can use "git = diff > since..HEAD" to get all the changes. > Should we advocate "git rebase" in > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Git?