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

git alias for log with format - how to support --no-decorate?

From
Jason Pyeron <jpyeron@pdinc.us>
Date
Mar 13, 2023, 01:08 UTC
Message-ID
<7390201d95548$5ba4bef0$12ee3cd0$@pdinc.us>
Here is my alias 
alias.logg=log --format="%C(auto) %h% ad%d% s%C(green)% aE" --graph --date=short
besides creating another alias, can I make the %d silent when I pass --no-decorate?
Is my only hope using a shell function / command with a ! prefix?
-Jason
--
Jason Pyeron  | Architect
PD Inc        | Certified SBA 8(a)
10 w 24th St  | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
 
.mil: jason.j.pyeron.ctr@mail.mil
.com: jpyeron@pdinc.us
tel : 202-741-9397
Message 1 of 1 in “git alias for log with format - how to support --no-decorate?”
  1. Jason PyeronMar 13, 2023

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.