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

Re: [PATCH 6/7] Small changes

From
Junio C Hamano <junkio@cox.net>
Date
Mar 3, 2007, 22:15 UTC
Message-ID
<7vps7q7z44.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<15313.1172917217@localhost>
Xavier Maillard <zedek@gnu.org> writes:
> * Makefile: add git-blame as a candidate to the
>   byte-compilation. Change the function to call to byte-compile.

Could we have a bit more detailed description on the latter change?

Explaining why something needed a change is the point of a commit log message. Summarizing what got changed and how is good but that is secondary, because anybody can see that you changed the handcrafted --eval to -f by running "git show", even if you did not have the above proposed log message.

What is left unsaid is _why_ it is better to use single dash form of "-batch" and -f form instead of handcrafted --eval, and the proposed log message does not clarify the reason.

Show 5 quoted lines
>  %.elc: %.el
> -	$(EMACS) --batch --eval '(byte-compile-file "$<")'
> +	$(EMACS) -batch -f batch-byte-compile $<
>  
>  clean:; rm -f $(ELC)
Previous: Xavier MaillardNext: Xavier Maillard
Message 2 of 4 in “Small changes”
  1. 6/7 Small changesXavier Maillard, Mar 3, 2007
  2. Junio C HamanoMar 3, 2007
  3. Xavier MaillardMar 5, 2007
  4. Junio C HamanoMar 5, 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.