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

Re: The msysGit Herald, issue 2

From
Shawn O. Pearce <spearce@spearce.org>
Date
Sep 24, 2007, 02:48 UTC
Message-ID
<20070924024828.GE3099@spearce.org>
In-Reply-To
<Pine.LNX.4.64.0709232153230.28395@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> 
> Maybe we'll get to the state where a link to git gui is installed in
> addition to the "Git Shell"

I'm hoping that becomes possible as part of the 0.9.x series of git-gui. My latest master branch in git-gui.git contains a new startup wizard that can be used to do one of three common actions:

  - Clone a repository
  - Create a new repository
  - Open an existing repository
Dscho has already seen this wizard.  Its certainly meant to help
with linking to git-gui from "Begin" menus on systems that probably
should have been called "Wide Open Doors" (given their security
track record).  Currently the only way to get the wizard to launch
is to run `git gui` from a pwd that isn't contained within a Git
repository.
 
Show 6 quoted lines
> > 5) What was the most surprising moment when working with Git?
> 
> It merged a change I made in an old branch in a file that was moved in
> the new branch to a new location. IOW, merge across renames. Really, I
> was so surprised - I wanted to start the manual merge when I discovered
> that git had done all the work for me.
Heh.  That always gets me too.  Especially when applying git-gui
patches made against git.git, but to my git-gui tree.  `git-am -3`
Just Does The Right Thing(tm).  I can't ask for more from a source
code control system.
 
Show 7 quoted lines
> > 6) What was the most frustrating moment when working with Git?
> 
> Just the other day, I wanted to fetch a set of changes from a public
> repo into my test repo in order to cherry-pick from them - and it
> automatically fetched all the tags. But, the heck, I don't want them tags
> here, just the commits. I just can't figure out how to avoid the automatic
> fetching of tags.

Its called `git fetch --no-tags`. You can also setup a config option of "remote.$name.tagopt = --no-tags" to tell git-fetch to not fetch tags when fetching from that remote.

But yea, I too hate the fact that Git cannot read my mind and realize that although I usually do want to fetch tags, right now I don't, even though I forgot to tell it that with --no-tags. :)

So my most frustrating moment when working with Git was realizing
that Linus didn't supply `git-read-users-mind`.  Sadly it only
comes with `git-read-tree`.  Ah, well, at least my maple and pine
are understood.
 
-- 
Shawn.
Previous: Johannes SchindelinNext: Linus Torvalds
Message 2 of 6 in “The msysGit Herald, issue 2”
  1. Johannes SchindelinSep 23, 2007
  2. Shawn O. PearceSep 24, 2007
  3. Linus TorvaldsSep 24, 2007
  4. Johannes SixtSep 24, 2007
  5. Johannes SchindelinSep 24, 2007
  6. Junio C HamanoSep 24, 2007

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.