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

[BUG] aliases not working outside of a working copy

From
SBSanti Béjar <sbejar@gmail.com>
Date
Mar 31, 2008, 15:19 UTC
Message-ID
<8aa486160803310819r3a905bbeg5f993a55aaf6efbf@mail.gmail.com>
Hi *,
  I use the following alias:
[alias]
        wdiff = diff --color-words
and it no longer works outside of a working copy since:
af05d67 (Always set *nongit_ok in setup_git_directory_gently())

The problem is with the alias system that detects if you are in a working copy, not with the command, as the command just works fine.

Santi
Next: Johannes Schindelin
Message 1 of 4 in “[BUG] aliases not working outside of a working copy”
  1. Santi BéjarMar 31, 2008
  2. Johannes SchindelinMar 31, 2008
  3. Junio C HamanoApr 1, 2008
  4. Santi BéjarApr 1, 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.