| From | Subject | Date |
|---|---|---|
| Luke Lu | [PATCH] gitweb: speed up project listing on large work trees...
Resubmitting patch after passing gitweb regression tests.
Signed-off-by: Luke Lu <git@vicaya.com>
---
Makefile | 2 ++
gitweb/gitweb.perl | 10 ++++++++++
t/t9500-gitweb-standalone-no-errors.sh | 1 +
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 8db4dbe..3e9938e 100644
--- a/Makefile
+++ b/Makefile
@@ -165,6 +165,7 @@ GITWEB_CONFIG = gitweb_config.perl
GITWEB_HOME_LINK_STR = projects...
| Oct 16, 11:45 pm 2007 |
| Nicolas Pitre | [PATCH 5/6] fix const issues with some functions
Two functions, namely write_idx_file() and open_pack_file(), currently
return a const pointer. However that pointer is either a copy of the
first argument, or set to a malloc'd buffer when that first argument
is null. In the later case it is wrong to qualify that pointer as const
since ownership of the buffer is transferred to the caller to dispose of,
and obviously the free() function is not meant to be passed const
pointers.
Making the return pointer not const causes a warning when the first
a...
| Oct 16, 9:55 pm 2007 |
| Nicolas Pitre | [PATCH 6/6] fix for more minor memory leaks
Now that some pointers have lost their const attribute, we can free their
associated memory when done with them. This is more a correctness issue
about the rule for freeing those pointers which isn't completely trivial
more than the leak itself which didn't matter as the program is
exiting anyway.
Signed-off-by: Nicolas Pitre <nico@cam.org>
---
index-pack.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/index-pack.c b/index-pack.c
index 60173d5..2f149a4 1006...
| Oct 16, 9:55 pm 2007 |
| Nicolas Pitre | [PATCH 0/6] miscelaneous stuff
This is a few patches I've been accumulating. Included is a rework of
the progress display so it uses much less screen lines, as well as a
couple code cleanups.
Nicolas
-
| Oct 16, 9:55 pm 2007 |
| Nicolas Pitre | [PATCH 1/6] more compact progress display
Each progress can be on a single line instead of two.
Signed-off-by: Nicolas Pitre <nico@cam.org>
---
builtin-pack-objects.c | 16 ++++---------
builtin-unpack-objects.c | 2 +-
index-pack.c | 4 +-
progress.c | 53 +++++++++++++++++++++------------------------
progress.h | 10 +++-----
unpack-trees.c | 4 +-
6 files changed, 39 insertions(+), 50 deletions(-)
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
...
| Oct 16, 9:55 pm 2007 |
| Shawn O. Pearce | Re: [PATCH 1/6] more compact progress display
Nice. Of course that screws with git-gui and now I have to
Hmm. n is unsigned and last_value is signed. Uh? I know you are
using the special value -1 to mean we've never output anything for
this progress meter but mixing signed and unsigned always gives me
the willies.
--
Shawn.
-
| Oct 16, 10:11 pm 2007 |
| Nicolas Pitre | Re: [PATCH 1/6] more compact progress display
Really? ;-)
Nicolas
-
| Oct 16, 10:24 pm 2007 |
| Nicolas Pitre | [PATCH 2/6] cope with multiple line breaks within sideband p...
A single sideband packet may sometimes contain multiple lines of progress
messages, but we prepend "remote: " only to the whole buffer which creates
a messed up display in that case. Make sure that the "remote: " prefix
is applied to every remote lines.
Signed-off-by: Nicolas Pitre <nico@cam.org>
---
sideband.c | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/sideband.c b/sideband.c
index 277fa3c..ab8a1e9 100644
--- a/sideband.c
+++ b/sideband...
| Oct 16, 9:55 pm 2007 |
| Nicolas Pitre | [PATCH 3/6] pack-objects: no delta possible with only one ob...
... so don't even try in that case, and save another useless line of
progress display.
Signed-off-by: Nicolas Pitre <nico@cam.org>
---
builtin-pack-objects.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index df69abd..d729cb7 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -1714,7 +1714,7 @@ static void prepare_pack(int window, int depth)
delta_list[n++] = entry;
}
- if (nr_deltas)...
| Oct 16, 9:55 pm 2007 |
| Shawn O. Pearce | Deltifying? (was [PATCH 3/6] pack-objects: no delta possible...
Totally unrelated to this patch but yesterday a coworker called the
Grammar Police on me because Git said "Deltifying objects" in their
console window during a fetch or push operation. I told them it was
perfectly valid, they disagreed. I got free coffee out of the deal.
But still, it bothers some users that we use perhaps less than
commonly accepted English in an important tool's output. Seeing it
in your context just reminded me of that discussion yesterday.
--
Shawn.
-
| Oct 16, 10:15 pm 2007 |
| Nicolas Pitre | Re: Deltifying? (was [PATCH 3/6] pack-objects: no delta poss...
Whatever is proper English I don't mind, as long as it is short, like a
With Git's growing user base, this is becoming more and more common
though. ;-)
Nicolas
-
| Oct 16, 10:28 pm 2007 |
| Nicolas Pitre | [PATCH 4/6] pack-objects.c: fix some global variable abuse a...
To keep things well layered, sha1close() now returns the file descriptor
when it doesn't close the file.
An ugly cast was added to the return of write_idx_file() to avoid a
warning. A proper fix will come separately.
Signed-off-by: Nicolas Pitre <nico@cam.org>
---
builtin-pack-objects.c | 29 +++++++++++++++--------------
csum-file.c | 23 ++++++++++++++---------
2 files changed, 29 insertions(+), 23 deletions(-)
diff --git a/builtin-pack-objects.c b/builtin-pack-object...
| Oct 16, 9:55 pm 2007 |
| Johannes Schindelin | [PATCH] Teach "git reflog" a subcommand to delete single ent...
This commit implements the "delete" subcommand:
git reflog delete master@{2}
will delete the second reflog entry of the "master" branch.
With this, it should be easy to implement "git stash pop" everybody
seems to want these days.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
Documentation/git-reflog.txt | 5 +++
builtin-reflog.c | 59 ++++++++++++++++++++++++++++++++++++++++++
t/t1410-reflog.sh | 26 ++++++++++++++++++
3 files ...
| Oct 16, 9:50 pm 2007 |
| Luke Lu | [PATCH] gitweb: speed up project listing by limiting find de...
Resubmit patch due to tab/space issue :)
Signed-off-by: Luke Lu <git@vicaya.com>
---
Makefile | 2 ++
gitweb/gitweb.perl | 11 +++++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 8db4dbe..3e9938e 100644
--- a/Makefile
+++ b/Makefile
@@ -165,6 +165,7 @@ GITWEB_CONFIG = gitweb_config.perl
GITWEB_HOME_LINK_STR = projects
GITWEB_SITENAME =
GITWEB_PROJECTROOT = /pub/git
+GITWEB_PROJECT_MAXDEPTH = 2007
GITWEB_EXPORT_OK =...
| Oct 16, 9:13 pm 2007 |
| Shawn O. Pearce | Re: [PATCH] gitweb: speed up project listing by limiting fin...
Your patch appears to be causing some errors in the test suite
in t/t9500-gitweb-standalone-no-errors.sh. Perl is whining about
$subdir not getting initialized above due to the substr being off
the string. I've got too many other topics tonight to figure out
why yours is failing, can you please run the test and resubmit when
you've resolved the error?
--
Shawn.
-
| Oct 16, 10:40 pm 2007 |
| Shawn O. Pearce | Re: [PATCH] gitweb: speed up project listing by limiting fin...
Thanks, I have this locally from your prior version but already
Cute. But does what I was asking for, which was to not change
behavior for existing users. Most folks have a MAX_PATH around
1024-4096. There's no sane way they would exceed 2000 nested
directories.
--
Shawn.
-
| Oct 16, 9:35 pm 2007 |
| Luke Lu | [PATCH] gitweb: speed up project listing by limiting find de...
Resubmit patch based on feedback from Shawn O. Pearce.
Signed-off-by: Luke Lu <git@vicaya.com>
---
Makefile | 2 ++
gitweb/gitweb.perl | 11 +++++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 8db4dbe..3e9938e 100644
--- a/Makefile
+++ b/Makefile
@@ -165,6 +165,7 @@ GITWEB_CONFIG = gitweb_config.perl
GITWEB_HOME_LINK_STR = projects
GITWEB_SITENAME =
GITWEB_PROJECTROOT = /pub/git
+GITWEB_PROJECT_MAXDEPTH = 2007
GITW...
| Oct 16, 9:03 pm 2007 |
| Bill Lear | Question on git-filter-branch
I'm testing out git-filter-branch, as I would like to use it to remove
proprietary information from our repository.
I created a test repo with "sensitive information" in a file 'A', some
other "plain" information, more sensitive stuff in file 'D', a subdirectory
of sensitive information (some of this added on a branch 'branch_1',
some added on master):
% ls -F sensitive
A B C D sensitive_stuff/
I then cloned this repo and tried the filter:
% git clone sensitive sensitive.clone
% cd sen...
| Oct 16, 8:57 pm 2007 |
| Johannes Schindelin | [PATCH 1/2] fix filter-branch documentation
The man page for filter-branch still talked about writing the result
to the branch "newbranch". This is hopefully the last place where the
old behaviour was described.
Noticed by Bill Lear.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
Documentation/git-filter-branch.txt | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt
index c878ed3..ba9b4fb 100644
--- a/Document...
| Oct 16, 10:22 pm 2007 |
| Johannes Schindelin | [PATCH 2/2] filter-branch: update current branch when rewrit...
Earlier, "git filter-branch --<options> HEAD" would not update the
working tree after rewriting the branch. This commit fixes it.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
Bill, I hope this clarifies some things for you, too...
git-filter-branch.sh | 15 +++++++++++++++
t/t7003-filter-branch.sh | 4 +++-
2 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index a12f6c2..ffcc408 100755
...
| Oct 16, 10:23 pm 2007 |
| Jonas Fonseca | [PATCH] When renaming config sections delete conflicting sec...
The old behavior of keeping config sections matching the new name caused
problems leading to warnings being emitted by git-remote when renaming
branches where information about tracked remote branches differed. To
fix this any config sections that will conflict with the new name are
removed from the config file. Update test to check for this.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
config.c | 9 ++++++++-
t/t1300-repo-config.sh | 17 +++++++++++++++++
2 files ...
| Oct 16, 8:34 pm 2007 |
| Shawn O. Pearce | Re: [PATCH] When renaming config sections delete conflicting...
Ouch. But this may cause the user to lose what they might consider
important settings relative to the old section named branch.test.
I think in the case you mention above where you are doing a
`branch -M` the user really does want the basic branch properties
to be forced over (branch.$name.remote, branch.$name.merge) but
they probably do not want other branch properties to be removed
or deleted. Or maybe they do.
Its really hard to second guess the user's intent here. I think
its too broad ...
| Oct 16, 8:55 pm 2007 |
| David Symonds | [PATCH] gitweb: Provide title attributes for abbreviated aut...
Signed-off-by: David Symonds <dsymonds@gmail.com>
---
gitweb/gitweb.perl | 34 +++++++++++++++++++++++++++++-----
1 files changed, 29 insertions(+), 5 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index b2bae1b..3112fd4 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -3461,9 +3461,15 @@ sub git_shortlog_body {
print "<tr class=\"light\">\n";
}
$alternate ^= 1;
+ my $author = chop_str($co{'author_name'}, 10);
+ if ($author ne $co{'auth...
| Oct 16, 8:34 pm 2007 |
| Luke Lu | [PATCH] gitweb: speed up project listing by limiting find de...
Resubmit patch to make project max depth configurable.
Signed-off-by: Luke Lu <git@vicaya.com>
---
Makefile | 2 ++
gitweb/gitweb.perl | 8 ++++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 8db4dbe..b70ba8c 100644
--- a/Makefile
+++ b/Makefile
@@ -165,6 +165,7 @@ GITWEB_CONFIG = gitweb_config.perl
GITWEB_HOME_LINK_STR = projects
GITWEB_SITENAME =
GITWEB_PROJECTROOT = /pub/git
+GITWEB_PROJECT_MAXDEPTH = 2
GITWEB_EXP...
| Oct 16, 8:24 pm 2007 |
| Shawn O. Pearce | Re: [PATCH] gitweb: speed up project listing by limiting fin...
I'd rather see this default to an unlimited (or maybe insane?) depth.
Current users may be surprised upon upgrading to a more recent git
when their gitweb stops showing projects because the default depth
is too small.
repo.or.cz is up at 3 deep, maybe 4 right now, right Pasky?
I think letting admins control the depth is a good idea, but its
a performance tuning thing and probably shouldn't break existing
I don't do much gitweb hacking, but I usually don't like to find
code that mutates a value...
| Oct 16, 8:41 pm 2007 |
| Johannes Schindelin | [PATCH] Fix setup_git_directory_gently() with relative GIT_D...
There are a few programs, such as config and diff, which allow running
without a git repository. Therefore, they have to call
setup_git_directory_gently().
However, when GIT_DIR and GIT_WORK_TREE were set, and the current
directory was a subdirectory of the work tree,
setup_git_directory_gently() would return a bogus NULL prefix.
This patch fixes that.
Noticed by REPLeffect on IRC.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
setup.c | 13 ++++...
| Oct 16, 7:37 pm 2007 |
| Luke Lu | [PATCH] Speed up project listing for large working trees by ...
Forgot -s last time when resubmitting the patch.
Here is a simple gitweb patch to speed up project listing on checked
out repos with large trees. It was spending minutes in perl (5.8.8
macports). Reduced to a fraction of a second after the patch.
Signed-off-by: Luke Lu <git@vicaya.com>
---
gitweb/gitweb.perl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 3064298..a30eef9 100755
--- a/gitweb/gitweb.perl
+++ b/g...
| Oct 16, 7:02 pm 2007 |
| Luke Lu | [PATCH] Speed up project listing for large working trees by ...
Simple gitweb patch to speed up project listing on checked out repos
with large trees. It was spending minutes in perl (5.8.8 macports).
It's taking a fraction of a second after the patch. Resubmitted per
Andreas Ericsson's advice.
---
gitweb/gitweb.perl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 3064298..a30eef9 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -1509,16 +1509,20 @@ sub git_get_projects_l...
| Oct 16, 6:37 pm 2007 |
| Andrew Clausen | [PATCH] helpful error message when send-pack finds no refs i...
Hi all,
Please cc me, I'm not subscribed.
git-push fails when pushing into an empty repository if you don't specify
a branch:
git --bare init some-repo
git-push some-repo
To get this to work, you need to do
git-push some-repo master
I attached a patch so that the error message suggests trying the latter.
Cheers,
Andrew
| Oct 16, 5:31 pm 2007 |
| Sam Vilain | [PATCH] gitk: disable colours when calling git log
If the user specifies 'diff.color = 1' in their configuration file,
then gitk will not start. Disable colours when calling git log.
Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz>
---
gitk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gitk b/gitk
index 300fdce..999e3c2 100755
--- a/gitk
+++ b/gitk
@@ -92,7 +92,7 @@ proc start_rev_list {view} {
set order "--date-order"
}
if {[catch {
- set fd [open [concat | git log -z --pretty=raw $orde...
| Oct 16, 6:33 pm 2007 |
| Richard Quirk | git-cherry-pick no longer detecting moved files in 1.5.3.4
I recently upgraded from git 1.5.3 to 1.5.3.4 and my cherry picks from
path/to/file.c to path/to/subdir/file.c stopped working. The error being:
CONFLICT (delete/modify): path/to/file.c deleted in HEAD and modified
in 9f944cb... <commit msg> Version 9f944cb... <commit msg> of
path/to/file.c left in tree.
The history of my project is that I had an extra sub directory that I
got rid of, moving files up a level on the master branch but this
extra directory is still present on a "release"...
| Oct 16, 6:17 pm 2007 |
| Shawn O. Pearce | Re: git-cherry-pick no longer detecting moved files in 1.5.3.4
Someone else already responded about how to set this limit, but
I wanted to clarify what the docs vs. the code were doing here.
The docs use camelCase as it is prettier to read multiple words
that useCamelCase than alllowercaselikethis. Internally when we
parse your config file we lowercase the entire string so that the
code can worry only about the lowercase variant. That's why you
see it all lowercase in diff.c, but the docs suggest you to use
the camelCase format.
--
Shawn.
-
| Oct 16, 8:58 pm 2007 |
| Michele Ballabio | Re: git-cherry-pick no longer detecting moved files in 1.5.3.4
It should be
diff.renamelimit = 0
to set the "unlimited" limit.
-
| Oct 16, 6:35 pm 2007 |
| Paolo Ciarrocchi | [PATCH] Help people in finding the download links
I believe that with the following change it's a bit easier to visualize the table including the links to the tar.bz2 and tar.gz source packages.
Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
---
index.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/index.html b/index.html
index dc5189a..b061178 100644
--- a/index.html
+++ b/index.html
@@ -54,7 +54,7 @@ Junio C Hamano.</p>
<div style="float: right"><table class="releases"...
| Oct 16, 5:58 pm 2007 |
| Petr Baudis | Re: [PATCH] Help people in finding the download links
Thanks, applied.
--
Petr "Pasky" Baudis
Early to rise and early to bed makes a male healthy and wealthy and dead.
-- James Thurber
-
| Oct 16, 8:01 pm 2007 |
| Paolo Ciarrocchi | [PATCH] Remove link to the survey from the git home page.
As far as I know the survey is close so it makes sense to remove the link/text from the home page.
Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
---
index.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/index.html b/index.html
index 5d14acf..dc5189a 100644
--- a/index.html
+++ b/index.html
@@ -50,7 +50,7 @@ the <a href="http://www.gnu.org/licenses/gpl2.txt">GNU General Public License v2
It was originally written by Linus Torvalds and i...
| Oct 16, 5:57 pm 2007 |
| Medve Emilian-EMMEDVE1 | linux-2.6.git mirror
Hi Linus,
I'm trying to setup a mirror of your Linux tree with git 1.5.3.1 and
v2.6.23-5054-g821f3ef and I get the following error during this
scenario:
$ mkdir linux
$ cd linux
$ git --bare init --shared=all
Initialized empty shared Git repository in /home/emmedve1/linux/
$ git remote add --mirror -f origin
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
$ git fsck --full --strict <- all fine
$ git remote update
Updating origin
error: Object 5dc01c595e6c6ec9ccda4f...
| Oct 16, 4:27 pm 2007 |
| Medve Emilian-EMMEDVE1 | RE: linux-2.6.git mirror
Instead of v2.6.23-5054-g821f3ef please read v1.5.3.4-206-g58ba4f6.
-
| Oct 16, 4:47 pm 2007 |
| Jari Aalto | Re: On Tabs and Spaces
* Tue 2007-10-16 Michael Witten <mfwitten AT MIT.EDU>
Spaces are guaranteed to interpreted correctly in all environments. TABs
are the source of too many problems.
Jari
--
Welcome to FOSS revolution: we fix and modify until it shines
-
| Oct 16, 1:06 pm 2007 |
| Linus Torvalds | Re: On Tabs and Spaces
No.
Tabs are 8 spaces wide. Live with it. It's the only sane solution.
The fact is, people do mix the two. No ifs, buts or maybes about it. Even
in the absense of any actual *spaces*, the size of a tab matters, since
you can - and do - have two separately indented things (the initial
indentation, and then things like comments being indented separately).
The only sane solution is the one the kernel and git have always used:
tabs are 8 spaces wide, and anybody who disagrees can go screw...
| Oct 16, 3:20 pm 2007 |
| Sam Ravnborg | Re: On Tabs and Spaces
It is insane to *require* diciplined people to use tabs for more than
code indents.
If you insist on using tabs all over the place - fine with me.
But do not frown upon me and other diciplined people becasue we use
spaces to make sure our arguments to a function call is properly
aligned in a tab=10,tab=8,tab=2 environment.
The arguments "tabs are always 8 spaces properly aligned" is just
to reach the lowest common denominator around developers.
And frankly there are some that do better than that.
...
| Oct 16, 4:56 pm 2007 |
| Mike Hommey | Re: On Tabs and Spaces
Actually, part of the mess with tabs is due to the fact they're not
exactly 8 spaces wide, but any width that ends at a multiple of 8
characters from the start of the line. So 0 <= n < 8 spaces and a tab
is still 8 spaces.
Anyways, it's maybe just simpler to run indent before sending patches.
Mike
-
| Oct 16, 3:36 pm 2007 |
| Linus Torvalds | Re: On Tabs and Spaces
Umm.. That's the definition of "tab width".
The tab width is 8. Not "0 < n <= 8". Not "depends on where you are". The
tab width is 8.
The whole history of tab is that it comes from mechanical "tab stops" that
you could set, and that were independent of the text - pressing the tab
key would move to the next tab stop.
Now, those tab stops were movable, and in fact, I think lots of terminals
still support setting those tab stops dynamically (ie you can send control
sequences to s...
| Oct 16, 3:47 pm 2007 |
| Matthieu Moy | Re: On Tabs and Spaces
Read better before replying, and I'm sure you'll agree with Mike ...
--
Matthieu
-
| Oct 16, 4:32 pm 2007 |
| Linus Torvalds | Re: On Tabs and Spaces
Side note: one reason you *have* to use 8-character wide tab stops if you
want to be sane is that while your editor may have alternate tab-stops,
but when you look at the sources any other ways or on any other setup, the
default is *always* going to be that 8-character wide tab-stop.
Do a "git cat-file -p :Makefile", and it will default to using "less".
Have you added "-x2" to you LESS environment variable? Has everybody else?
Not likely.
Or what happens when you just cat it straight, ...
| Oct 16, 3:51 pm 2007 |
| Tom Tobin | Re: On Tabs and Spaces
I'm reading two different ideas here, and it seems like you're
conflating the two — and, in the process, telling some pretty smart
people (smarter than me, anyhow) to go fuck themselves.
If a project uses tabs, your statement regarding 8-char-width tabs makes
sense; you need some rule by which you can assume others are viewing the
same thing you are.
But you then dismiss out of hand the option of using all spaces; Python
has been getting along perfectly well for quite some time by following
...
| Oct 16, 4:18 pm 2007 |
| Linus Torvalds | Re: On Tabs and Spaces
I do indeed. I don't think it's sensible. And I did think I already
answered that issue by talking about how most editors don't even support
it or show the difference between tabs and spaces.
For example, the editor I use - microemacs - supports tabs just fine. It
does auto-indentation etc. But it does it with hard-tabs by default, so
now you have to have some editor-specific setup for that particular
project if you ever want to do anything else.
And that's really what it boils down to...
| Oct 16, 7:05 pm 2007 |
| Christer Weinigel | Re: On Tabs and Spaces
On Tue, 16 Oct 2007 16:05:34 -0700 (PDT)
Unfortunately most editors are totally confused about the difference
between tab size and indentation level. Visual Studio, probably the
most commonly used development environment on Windows, by default uses
TAB characters that are 4 spaces wide, and users are recommended
not to change that because of that a lot of existing Windows source code
and examples uses those settings.
Two years ago, when I last looked at it, Eclipse, a very commonly used
develop...
| Oct 16, 7:51 pm 2007 |
| Linus Torvalds | Re: On Tabs and Spaces
One issue may well be that Windows programmers also probably don't work
very much with patches, do they?
One reason for *really* wanting to use hard-tabs is that it makes patches
look better, exactly because diffs contain that one extra (or two, in the
case of old-style context diffs) character at the beginning of the line.
Which means that while all-space indents look fine, *mixing* styles
definitely does not. In particular, a two-character indent (which
hopefully nobody uses, but peo...
| Oct 16, 8:45 pm 2007 |
| Michael Witten | Re: On Tabs and Spaces
It's unreasonable not to list that anywhere.
mfwitten
-
| Oct 16, 11:08 pm 2007 |
| previous day | today | next day |
|---|---|---|
| October 15, 2007 | October 16, 2007 | October 17, 2007 |
| Cliffe | Re: [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Andrew Morton | Re: [RFC/PATCH] Documentation of kernel messages |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Radu Rendec | Endianness problem with u32 classifier hash masks |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
git: | |
