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

Re: [PATCH 3/7] abspath: trivial style fix

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 9, 2013, 21:24 UTC
Message-ID
<xmqqeh5lwwej.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1386482220-18558-4-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 15 quoted lines
> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
> ---
>  abspath.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/abspath.c b/abspath.c
> index e390994..8b3385a 100644
> --- a/abspath.c
> +++ b/abspath.c
> @@ -143,7 +143,7 @@ static const char *real_path_internal(const char *path, int die_on_error)
>  error_out:
>  	free(last_elem);
>  	if (*cwd && chdir(cwd))
> -		die_errno ("Could not change back to '%s'", cwd);
> +		die_errno("Could not change back to '%s'", cwd);
Will queue; thanks.
By the way, there are quite a few hits from
	git grep -e '\(die\|error\|warning\) (' -- \*.c

even if we ignore borrowed code that we do not want to touch up with this kind of change. Some may have overlapping changes in flight that makes it better to leave them as they are for now, but some are in reasonably quiescent areas.

Previous: Felipe ContrerasNext: Felipe Contreras
Message 5 of 11 in “Trivial patches”
  1. 0/7 Trivial patchesFelipe Contreras, Dec 8, 2013
  2. 1/7 config: avoid yoda conditionsFelipe Contreras, Dec 8, 2013
  3. 2/7 add: avoid yoda conditionsFelipe Contreras, Dec 8, 2013
  4. 3/7 abspath: trivial style fixFelipe Contreras, Dec 8, 2013
  5. Junio C HamanoDec 9, 2013
  6. 4/7 t: trivial whitespace cleanupsFelipe Contreras, Dec 8, 2013
  7. 5/7 fetch: add missing documentationFelipe Contreras, Dec 8, 2013
  8. Junio C HamanoDec 9, 2013
  9. 6/7 sha1_name: cleanup interpret_branch_name()Felipe Contreras, Dec 8, 2013
  10. Philip OakleyDec 8, 2013
  11. 7/7 sha1_name: simplify track findingFelipe Contreras, Dec 8, 2013

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.