[Rubygems-developers] Patch that fixes Proxy authorization problem (407)
Hugh Sasse
hgs at dmu.ac.uk
Fri Dec 16 05:53:34 EST 2005
On Thu, 15 Dec 2005, Anatol Pomozov wrote:
> The only thing that makes me nervous with RubyGems code that it have a lot
> of TAB symbols, and as my editor do not like TABS and converts them to
> SPACES. So I have a lot of changes mostly of them just whitespace changes.
> Jim, could you please format code and remove all TABS. It would be
> definitely easier to develop.
How do you submit your changes? If you write to the repository
directly this would be a problem. If you send patches and you have
GNU diff then:
brains hgs 30 %> gdiff --help
Usage: gdiff [OPTION]... FILES
Compare files line by line.
-i --ignore-case Ignore case differences in file contents.
--ignore-file-name-case Ignore case when comparing file names.
--no-ignore-file-name-case Consider case when comparing file names.
-E --ignore-tab-expansion Ignore changes due to tab expansion.
[....]
so do
gdiff -u -E old, new
and all ought to be fine.
brains hgs 38 %> gdiff -u -E tabtest.orig tabtest
--- tabtest.orig 2005-12-16 10:48:22.305326000 +0000
+++ tabtest 2005-12-16 10:49:14.652008000 +0000
@@ -1,5 +1,5 @@
This is a test of tab mods
This line has a tab
This line doesn't
- This line has a tab
+ This line does not have a tab
brains hgs 39 %> gdiff -u tabtest.orig tabtest
--- tabtest.orig 2005-12-16 10:48:22.305326000 +0000
+++ tabtest 2005-12-16 10:49:14.652008000 +0000
@@ -1,5 +1,5 @@
This is a test of tab mods
- This line has a tab
- This line doesn't
This line has a tab
+ This line doesn't
+ This line does not have a tab
Hugh
More information about the Rubygems-developers
mailing list