Re: What's cooking in git.git (Jun 2010, #01; Wed, 2)
Jun 05, 2010 at 11:07:32AM -0700, Junio C Hamano wrote:
Show 21 quoted lines
> @@ -1582,6 +1583,7 @@ define cmd_munge_script
> $(RM) $@ $@+ && \
> sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
> -e 's|@SHELL_PATH@|$(SHELL_PATH_SQ)|' \
> + -e 's|@@DIFF@@|$(DIFF_SQ)|' \
> -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
> -e 's/@@NO_CURL@@/$(NO_CURL)/g' \
> -e $(BROKEN_PATH_FIX) \
> diff --git a/git-merge-one-file.sh b/git-merge-one-file.sh
> index 3145009..b86402a 100755
> --- a/git-merge-one-file.sh
> +++ b/git-merge-one-file.sh
> @@ -107,7 +107,7 @@ case "${1:-.}${2:-.}${3:-.}" in
> # remove lines that are unique to ours.
> orig=`git-unpack-file $2`
> sz0=`wc -c <"$orig"`
> - $DIFF -u -La/$orig -Lb/$orig $orig $src2 | git apply --no-add
> + @@DIFF@@ -u -La/$orig -Lb/$orig $orig $src2 | git apply --no-add
> sz1=`wc -c <"$orig"`
>
> # If we do not have enough common material, it is notLooks good to me. Thanks.