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

Re: [PATCH] allow alias expansion without a git directory

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 30, 2006, 09:34 UTC
Message-ID
<Pine.LNX.4.63.0607301133380.29667@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<E1G708T-00073m-Hg@moooo.ath.cx>
Hi,
On Sun, 30 Jul 2006, Matthias Lederhofer wrote:
Show 12 quoted lines
> diff --git a/setup.c b/setup.c
> index 4612f11..358e139 100644
> --- a/setup.c
> +++ b/setup.c
> @@ -184,6 +184,10 @@ const char *setup_git_directory_gently(i
>  		}
>  		return NULL;
>  	bad_dir_environ:
> +		if (!nongit_ok) {
> +			*nongit_ok = 1;
> +			return NULL;
> +		}

Funny. Yesterday, I looked through "git diff next", and decided to sync this part, i.e. undo the change you just proposed...

Ciao, Dscho

Previous: Matthias Lederhofer
Message 2 of 2 in “allow alias expansion without a git directory”
  1. allow alias expansion without a git directoryMatthias Lederhofer, Jul 30, 2006
  2. Johannes SchindelinJul 30, 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.