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

[PATCH] make git-svn resilient to log.abbrevcommit = true

From
SAShahid Alam <shahid.alam@gmail.com>
Date
Nov 24, 2011, 07:16 UTC
Message-ID
<3A78B8F7-803C-4278-8B5F-4A1B02C9FF04@gmail.com>

Add --no-abbrev-commit arg to working_head_Info()'s invocation of git log. --- git-svn.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-svn.perl b/git-svn.perl
index 351e743..da4c240 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -1803,7 +1803,7 @@ sub cmt_sha2rev_batch {
sub working_head_info {
	my ($head, $refs) = @_;
	my @args = qw/log --no-color --no-decorate --first-parent
-	              --pretty=medium/;
+	              --no-abbrev-commit --pretty=medium/;
	my ($fh, $ctx) = command_output_pipe(@args, $head);
	my $hash;
	my %max;
-- 
1.7.7.2
Next: Thomas Rast
Message 1 of 3 in “make git-svn resilient to log.abbrevcommit = true”
  1. make git-svn resilient to log.abbrevcommit = trueShahid Alam, Nov 24, 2011
  2. Thomas RastNov 24, 2011
  3. Eric WongNov 24, 2011

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.