Re: PATCH] Allow git-filter-branch to process large repositories with lots of branches.

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: PATCH] Allow git-filter-branch to process large repositories with lots of branches.

From: Andreas Schwab <hidden>
Date: 2016-06-15 22:58:40

Lee Carver [off-list ref] writes:
quoted hunk
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index ac2a005..d7e0fae 100755
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -255,8 +255,6 @@ else
 	remap_to_ancestor=t
 fi
 
-rev_args=$(git rev-parse --revs-only "$@")
-
 case "$filter_subdir" in
 "")
 	eval set -- "$(git rev-parse --sq --no-revs "$@")"
Here the arguments are reset.
quoted hunk
@@ -267,8 +265,9 @@ case "$filter_subdir" in
 	;;
 esac
 
+git rev-parse --revs-only "$@" | \
So this is using a different argument list than before.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Re: PATCH] Allow git-filter-branch to process large repositories with lots of branches.

From: Lee Carver <hidden>
Date: 2016-06-15 22:58:40

Andreas -

So that's what the "eval set -- " does!

We actually got it to work with a temporary file Š I'll send that patch in
a minute.

Thanks
   Lee

On 9/7/13 1:29 PM, "Andreas Schwab" [off-list ref] wrote:
Lee Carver [off-list ref] writes:
quoted
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index ac2a005..d7e0fae 100755
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -255,8 +255,6 @@ else
 	remap_to_ancestor=t
 fi
 
-rev_args=$(git rev-parse --revs-only "$@")
-
 case "$filter_subdir" in
 "")
 	eval set -- "$(git rev-parse --sq --no-revs "$@")"
Here the arguments are reset.
quoted
@@ -267,8 +265,9 @@ case "$filter_subdir" in
 	;;
 esac
 
+git rev-parse --revs-only "$@" | \
So this is using a different argument list than before.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help