* [PATCH] allow guilt to handle binary files
@ 2009-03-04 14:19 Yasushi SHOJI
2009-03-12 0:47 ` Josef 'Jeff' Sipek
0 siblings, 1 reply; 2+ messages in thread
From: Yasushi SHOJI @ 2009-03-04 14:19 UTC (permalink / raw)
To: jeffpc; +Cc: git
git plumbings has been working with binary diff for a while. this one
liner enable guilt to use those capabilities.
Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
---
Hi Jeff,
I just found out that guilt does not yet support binary patch
capability git has for a while.
so, before I leave my office, I just tried guilt with this one liner.
the result was:
- my local test with biniary files work (pop/push was check with md5), and
- all regression test completed without any error
I felt that I just send it out. :-)
# Note: I've googled "guilt bianry" before sending this but could not
# find any. I'm not following nether git nor guilt development for a
# while. so, let me know if I'm off track.
thanks,
guilt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/guilt b/guilt
index c98fd30..17a6288 100755
--- a/guilt
+++ b/guilt
@@ -689,7 +689,7 @@ __refresh_patch()
fi
# get the new patch
- git diff $diffopts "$2" >> "$TMP_DIFF"
+ git diff --binary $diffopts "$2" >> "$TMP_DIFF"
# move the new patch in
mv "$p" "$p~"
--
1.6.1.rc3.51.g5832d
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] allow guilt to handle binary files
2009-03-04 14:19 [PATCH] allow guilt to handle binary files Yasushi SHOJI
@ 2009-03-12 0:47 ` Josef 'Jeff' Sipek
0 siblings, 0 replies; 2+ messages in thread
From: Josef 'Jeff' Sipek @ 2009-03-12 0:47 UTC (permalink / raw)
To: Yasushi SHOJI; +Cc: git
On Wed, Mar 04, 2009 at 11:19:32PM +0900, Yasushi SHOJI wrote:
> git plumbings has been working with binary diff for a while. this one
> liner enable guilt to use those capabilities.
>
> Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
> ---
> Hi Jeff,
>
> I just found out that guilt does not yet support binary patch
> capability git has for a while.
>
> so, before I leave my office, I just tried guilt with this one liner.
> the result was:
>
> - my local test with biniary files work (pop/push was check with md5), and
> - all regression test completed without any error
>
> I felt that I just send it out. :-)
That's how it works :)
> # Note: I've googled "guilt bianry" before sending this but could not
> # find any. I'm not following nether git nor guilt development for a
> # while. so, let me know if I'm off track.
Sorry for taking so long...the patch looks fine. I applied it & pushed it
out.
I think it would be a good idea to have a regression test that specifically
checks binary file handling. I'm not going to get to write it for a couple
of days at least, so feel free to give it a shot :)
Thanks!
Josef 'Jeff' Sipek.
--
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like
that.
- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-12 1:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 14:19 [PATCH] allow guilt to handle binary files Yasushi SHOJI
2009-03-12 0:47 ` Josef 'Jeff' Sipek
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).