From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann Dirson Subject: [StGIT PATCH 1/3] Allow "git show --branch". Date: Thu, 28 Jun 2007 23:44:05 +0200 Message-ID: <20070628214404.26983.99522.stgit@gandelf.nowhere.earth> References: <20070628214242.26983.99859.stgit@gandelf.nowhere.earth> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org To: Catalin Marinas X-From: git-owner@vger.kernel.org Thu Jun 28 23:44:56 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1I41nK-0002wS-FA for gcvg-git@gmane.org; Thu, 28 Jun 2007 23:44:54 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764858AbXF1VoW (ORCPT ); Thu, 28 Jun 2007 17:44:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764865AbXF1VoV (ORCPT ); Thu, 28 Jun 2007 17:44:21 -0400 Received: from smtp3-g19.free.fr ([212.27.42.29]:42467 "EHLO smtp3-g19.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762391AbXF1VoU (ORCPT ); Thu, 28 Jun 2007 17:44:20 -0400 Received: from gandelf.nowhere.earth (nan92-1-81-57-214-146.fbx.proxad.net [81.57.214.146]) by smtp3-g19.free.fr (Postfix) with ESMTP id 2B8C05A1A2; Thu, 28 Jun 2007 23:44:19 +0200 (CEST) Received: from gandelf.nowhere.earth (localhost [127.0.0.1]) by gandelf.nowhere.earth (Postfix) with ESMTP id 12F361F084; Thu, 28 Jun 2007 23:44:05 +0200 (CEST) In-Reply-To: <20070628214242.26983.99859.stgit@gandelf.nowhere.earth> User-Agent: StGIT/0.12 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Signed-off-by: Yann Dirson --- stgit/commands/show.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/stgit/commands/show.py b/stgit/commands/show.py index ea4c874..c59ac68 100644 --- a/stgit/commands/show.py +++ b/stgit/commands/show.py @@ -30,7 +30,9 @@ Show the commit log and the diff corresponding to the given patches. The output is similar to that generated by the 'git show' command.""" -options = [make_option('-a', '--applied', +options = [make_option('-b', '--branch', + help = 'use BRANCH instead of the default one'), + make_option('-a', '--applied', help = 'show the applied patches', action = 'store_true'), make_option('-u', '--unapplied',