git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-gui: Implement a 'clone' subcommand

From
Shawn O. Pearce <spearce@spearce.org>
Date
Sep 30, 2008, 19:53 UTC
Message-ID
<20080930195330.GA4413@spearce.org>
In-Reply-To
<1222793501-17997-1-git-send-email-pasky@suse.cz>
Petr Baudis <pasky@suse.cz> wrote:
Show 16 quoted lines
> This enables git-gui to be started with the clone dialog opened right
> away, possibly with the URL prefilled when it is passed as another
> argument. git-gui can then be e.g. registered as the git:// protocol
> handler.
> 
> This is just a simple implementation - we construct the front actions
> page, then throw it away immediately; I wanted to avoid unnecessary
> refactoring and complication of the code, though.
> 
> Signed-off-by: Petr Baudis <petr.baudis@novartis.com>
> 
> ---
>  Documentation/git-gui.txt         |    5 +++++
>  git-gui/git-gui.sh                |   21 ++++++++++++++++++---
>  git-gui/lib/choose_repository.tcl |   11 ++++++++++-
>  3 files changed, 33 insertions(+), 4 deletions(-)

This looks fine, except for the diffstat. You can't patch the docs and the code in the same patch as they are in two different repositories... :-|

Also, I don't know if you've noticed but I think tg is sending duplicate "To" headers in the messages:

	From: Petr Baudis <pasky@suse.cz>
*	To: git@vger.kernel.org
	Cc: spearce@spearce.org, Petr Baudis <petr.baudis@novartis.com>
	Subject: [PATCH] git-gui: Implement a 'clone' subcommand
	Date: Tue, 30 Sep 2008 18:51:41 +0200
	Message-Id: <1222793501-17997-1-git-send-email-pasky@suse.cz>
	X-Mailer: git-send-email 1.5.6.3.392.g292f1
*	To: git@vger.kernel.org
	Sender: git-owner@vger.kernel.org
	Precedence: bulk
	List-ID: <git.vger.kernel.org>
	X-Mailing-List: git@vger.kernel.org
 
-- 
Shawn.
Previous: Petr BaudisNext: Shawn O. Pearce
Message 2 of 8 in “git-gui: Implement a 'clone' subcommand”
  1. git-gui: Implement a 'clone' subcommandPetr Baudis, Sep 30, 2008
  2. Shawn O. PearceSep 30, 2008
  3. Shawn O. PearceSep 30, 2008
  4. git-gui: Correctly set up locators in case of preset URL variablePetr Baudis, Oct 3, 2008
  5. H.Merijn BrandOct 3, 2008
  6. Petr BaudisOct 3, 2008
  7. Shawn O. PearceOct 10, 2008
  8. Petr BaudisOct 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.