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

Re: [PATCH] git-svn init/clone --stdlayout option to default-init trunk/tags/branches

From
EWEric Wong <normalperson@yhbt.net>
Date
Jul 14, 2007, 20:38 UTC
Message-ID
<20070714203805.GA5419@soma>
In-Reply-To
<20070714120450.GA21890@piper.oerlikon.madduck.net>
martin f krafft <madduck@madduck.net> wrote:
Show 7 quoted lines
> also sprach Eric Wong <normalperson@yhbt.net> [2007.07.14.1334 +0200]:
> > I have highlighting search set in my editor (vim :set hls)
> > and usually just search for spaces vs tabs to make sure I'm clean.
> 
> Try:
> 
>   :se lcs=tab:>-,trail,-
That didn't work, this does:
    :se lcs=tab:>-,trail:-
>   augroup listinsert
>     autocmd InsertEnter * set nolist
>     autocmd InsertLeave * set list
>   augroup end

Eep. Too confusing ;) I have my hls color set to be a red underscore (which nothing else in my syntax higlighting uses), so it's less intrusive for me.

Show 8 quoted lines
> > Of course, maintaining a consistent whitespace style helps a *lot*
> > with the git/Linux patch exchange development style because it
> > avoids needless patch application conflicts that arise from
> > whitespace differences.
> 
> Using tabs also makes it impossible to X-cut-paste patches from
> emails; you *have* to use git-am and/or a temporary file, which
> i don't like at all.

Ah. I that's one of the reasons I rarely use X-cut-paste for multi-line strings.

When I apply patches with or without git-am from email, I just start mutt inside the working source directory I'm in, and from the mutt index I spawn vim to edit any email (just hit 'e'), go into visual mode, select the part I want to apply and pipe that to whatever patch application program I want to use, and :q! out of vim.

-- 
Eric Wong
Previous: martin f krafftNext: Eric Wong
Message 6 of 7 in “git-svn init/clone --stdlayout option to default-init trunk/tags/branches”
  1. git-svn init/clone --stdlayout option to default-init trunk/tags/branchesmartin f. krafft, Jul 14, 2007
  2. Eric WongJul 14, 2007
  3. martin f krafftJul 14, 2007
  4. Eric WongJul 14, 2007
  5. martin f krafftJul 14, 2007
  6. Eric WongJul 14, 2007
  7. Eric WongAug 23, 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.