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

Re: [PATCH] fix vc git

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 21, 2006, 11:32 UTC
Message-ID
<emdr6v$9ma$1@sea.gmane.org>
In-Reply-To
<8e745ecf0612210325m72a569d7k370dd5953ccf6f27@mail.gmail.com>
Duncan Mak wrote:
> -      (when dir (cd dir))
> +      (if (file-exists-p dir) (cd dir))

Adding `file-exist-p' is good, but there is no need to change `when' to `if'.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Duncan MakNext: Duncan Mak
Message 2 of 10 in “fix vc git”
  1. fix vc gitDuncan Mak, Dec 21, 2006
  2. Jakub NarebskiDec 21, 2006
  3. Duncan MakDec 21, 2006
  4. Junio C HamanoDec 22, 2006
  5. Duncan MakDec 22, 2006
  6. Junio C HamanoDec 22, 2006
  7. Alexandre JulliardDec 22, 2006
  8. Duncan MakDec 22, 2006
  9. Alexandre JulliardDec 22, 2006
  10. Duncan MakDec 22, 2006

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.