From: Daniel Shahaf <email@example.com> To: "Lawrence Velázquez" <firstname.lastname@example.org> Cc: Sam Bostock <email@example.com>, firstname.lastname@example.org Subject: Re: [PATCH] Abbreviate commit hash in prompt during git rebase Date: Sun, 17 Apr 2022 20:17:39 +0000 [thread overview] Message-ID: <20220417201739.GC15901@tarpaulin.shahaf.local2> (raw) In-Reply-To: <email@example.com> Lawrence Velázquez wrote on Sun, Apr 17, 2022 at 16:08:34 -0400: > That would also avoid coupling prompt appearance to the configuration > of a separate piece of software, which is a notion that I like less > and less the more I think about it. I can easily imagine a user > who might want to see full hashes in Git output but not in their > prompt. Agreed, but one could use the «command» style to have vcs_info invoke Git as «git -c core.abbrev=42», in order to use core.abbrev as part of the solution without this problem. Cheers, Daniel
next prev parent reply other threads:[~2022-04-17 20:18 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-04-13 4:41 Sam Bostock 2022-04-13 5:38 ` Lawrence Velázquez 2022-04-13 19:53 ` Sam Bostock 2022-04-17 17:52 ` Daniel Shahaf 2022-04-17 20:08 ` Lawrence Velázquez 2022-04-17 20:17 ` Daniel Shahaf [this message] 2022-04-13 22:03 ` Daniel Shahaf
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220417201739.GC15901@tarpaulin.shahaf.local2 \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: [PATCH] Abbreviate commit hash in prompt during git rebase' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.vuxu.org/mirror/zsh/ This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).