| From | Subject | Date |
|---|---|---|
| Jon Smirl | Diffs from CVS keyword expansion
Anyone have a nice script for suppressing diffs caused by CVS keyword
expansion when someone checked the kernel sources into CVS?
I have 200,000 lines of various forms of this mixed in with real changes
It is unclear who checked it into CVS, Microcross or Arch Linux. If it
is Arch Linux finding the source for their 2.6.11.4-1 release would
help a lot. I looked on their web site and couldn't locate it.
I'm starting understand why the support for MX21 on a CSB535FS has
never been added to the mai...
| Nov 30, 11:56 pm 2006 |
| Jakub Narebski | Re: [RFC] Submodules in GIT
Hmmm... I thought the idea was that submodule commit is available in the
object repository, be it via alternates mechanism pointing to the submodule
repository for alternate storage, or submodule being in "unrelated"
branch/tracking branch.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
-
| Nov 30, 8:11 pm 2006 |
| Jakub Narebski | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
So, in short, -i is easier to explain, but is also least used. Perhaps
also because one can simply update index with <files> before git commit
instead of doing "git commit -i <files>".
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
-
| Nov 30, 8:06 pm 2006 |
| Jakub Narebski | Re: git blame
Something like Cogito tutorial-script?
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
-
| Nov 30, 7:08 pm 2006 |
| Johannes Schindelin | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
Hi,
I think this is so important, that I vote for including this email as
Documentation/howto/explain-why-git-is-better-than-cvs.txt
Ciao,
Dscho
-
| Nov 30, 6:55 pm 2006 |
| Nicolas Pitre | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
And personally I think this bastardizes the index.
I think so far the index is not a problem. the problem is in the UI and
in the doc. With a "git add" as I described it I don't think the user
will ask for such thing.
And let's have a "git diff --commit" be a much meaningful alias for the
appropriate diff argument (which argument I always forget about myself)
needed to show what is going to be committed.
Nicolas
-
| Nov 30, 6:46 pm 2006 |
| Jakub Narebski | Re: [RFC] git-add update with all-0 object
Still, perhaps (perhaps!) it would be useful to have "intent to add"
git-add.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
-
| Nov 30, 6:41 pm 2006 |
| Nicolas Pitre | Re: [RFC] git-add update with all-0 object
Well, sure. It could be an argument to git-add. But surely not the
default?
git-add --latest maybe?
Nicolas
-
| Nov 30, 6:49 pm 2006 |
| Daniel Barkalow | [RFC] git-add update with all-0 object
One thing that I think is non-intuitive to a lot of users (either novice
or who just don't do it much) is that it matters where in the process you
do "git add <path>" if you're also changing the file. Even if you
understand the index, you may not realize (or may not have internalized
the fact) that what git-add does is update the index with what's there
now.
I think the more obvious behavior is to have it record the fact that you
want to have the path tracked, but require one of the usu...
| Nov 30, 6:08 pm 2006 |
| Linus Torvalds | Re: [RFC] git-add update with all-0 object
While this certainly matches the git model better than just automatically
taking whatever state exist at commit time (you instead introduce it as a
special "empty state" case), I don't think you really want it.
Why?
Two reasons:
- you're still left with all the same issues (ie you do need to use "git
commit -a" because that is simply fundamental, and if you don't, "git
commit" now causes an ERROR, which is just illogical - you just added
the data!)
So it's simply be...
| Nov 30, 6:46 pm 2006 |
| Daniel Barkalow | Re: [RFC] git-add update with all-0 object
I'm not sure I want to see the whole added file more when diffing two
trees, or when I do "git diff --cached" after "git update-index --add",
than when I do "git diff" after "git add", but I'll concede that viewing
the content of a new file as a diff is no fun. (Maybe diff-against-nothing
for display needs work in general? It's solve the whole root commit thing,
This is where I think "git add" is really broken. For every other git
command, if the command causes the index to not match HEAD, t...
| Nov 30, 8:12 pm 2006 |
| Theodore Tso | Re: [RFC] git-add update with all-0 object
But it's not just this one wierd corner case. You yourself said that
"git pull/merge" leave the index where it's != HEAD.
I have serious trouble believing that "if the command leaves index !=
HEAD, the command must contain 'index' in either the name of the
command or the option" is all that important of a consistent rule or
principle that must be maintained at all costs.
By the way, after thinking about this for a while, part of the problem
is that the name "index" really sucks. Which is...
| Dec 1, 12:57 am 2006 |
| Nicolas Pitre | Re: [RFC] git-add update with all-0 object
And actually I think this is a good thing. This is what makes the index
worth it. Better find a way to make it obvious to people what's
happening.
Nicolas
-
| Nov 30, 6:34 pm 2006 |
| Johannes Schindelin | Re: [RFC] git-add update with all-0 object
Hi,
I fear that this is just your being used to the CVS mindset. Please see
http://article.gmane.org/gmane.comp.version-control.git/32792 for details.
Hth,
Dscho
-
| Nov 30, 6:32 pm 2006 |
| Jakub Narebski | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
Index is accessible, just like committed contents. The fact that gitk, qgit,
git-gui doesn't display state of index is their limitation.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
-
| Nov 30, 5:41 pm 2006 |
| Junio C Hamano | Re: [RFD] making separate-remote layout easier to use
Think of it not as a difference between you and Shawn, but as a
difference in me back then and me now, who finally saw the light
in your revelation after gaining a year's worth of experience ;-).
Seriously, I did not ignore it, and I think some of your other
comments in the message contributed to improved documentation.
When your message was posted, the issue Shawn raised in his
message was not so prominent, because people did not even get
that "Pull: refs/heads/pu:refs/heads/pu" line in their re...
| Nov 30, 5:22 pm 2006 |
| Jakub Narebski | Nov 30, 5:16 pm 2006 | |
| Carl Worth | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
I'm happy with the direction of having several commands that take the
place of update-index, each with its own name oriented toward what the
user wants to do.
Obviously, "add", "mv", and "rm" have obvious places where the user
wants to use them.
There's the merge case where "resolve" and "resolved" have both been
floated as possible names.
It might even make sense to invent one more name for the case where
the user wants to inform git that a file has been edited and that git
should accept...
| Nov 30, 5:37 pm 2006 |
| Junio C Hamano | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
checkin.
You check things into index with "git checkin" and later commit
the index with "git commit".
-
| Nov 30, 6:47 pm 2006 |
| Nicolas Pitre | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
I disagree. "add" is beautiful. It is short, easy to remember, and
transcend pretty much what the index is all about. And just because
"add" and "edited" can be made into the same command is a pretty damn
good reason not to create a separate command.
You "add" changes to the changeset then you commit that changeset.
No need to care whether or not this is a new file, an edited file, etc.
Nicolas
-
| Nov 30, 6:31 pm 2006 |
| Johannes Schindelin | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
Hi,
I suggest "commit". How about this: after editing the file, you tell git
that you finished editing it by doing
git commit the-edited-file.txt
Hmmm?
Ciao,
Dscho
-
| Nov 30, 6:25 pm 2006 |
| Nicolas Pitre | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
Sure. ;-)
Nicolas
-
| Nov 30, 6:37 pm 2006 |
| Josef Weidendorfer | Nov 30, 6:07 pm 2006 | |
| Michael K. Edwards | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
git mark
and git add becomes just a synonym for git mark.
Cheers,
- Michael
-
| Nov 30, 5:41 pm 2006 |
| Carl Worth | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
I actually thought of that. But compared to "refresh" it sounds more
like something that suggests marking a file path rather than copying
contents, so our dark lord might not approve of the wrong ideas it
might allow to persist in brain-damaged heads.
It is nice and short, which is a bonus though.
-Carl
| Nov 30, 5:50 pm 2006 |
| Jakub Narebski | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
Dnia czwartek 30. listopada 2006 22:50, Carl Worth napisa
| Nov 30, 5:58 pm 2006 |
| Johannes Schindelin | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
Hi,
... and suffer another thread a la "pull/merge"? Please no.
Ciao,
Dscho
-
| Nov 30, 6:26 pm 2006 |
| Nicolas Pitre | [BUG] git-fetch -k is broken
Actually, the .keep file is simply not removed as it should.
But first it appears that commit f64d7fd2 added an && on line 431 of
git-fetch.sh and that cannot be right. There is simply no condition for
not removing the lock file. It must be removed regardless if the
previous command succeeded or not. Junio?
Now for the actual problem. I instrumented git-fetch.sh to understand
what's going on as follows:
diff --git a/git-fetch.sh b/git-fetch.sh
index 8365785..042040e 100755
---...
| Nov 30, 4:11 pm 2006 |
| Junio C Hamano | Re: [BUG] git-fetch -k is broken
True, but your "echo" patch breaks things even more -- when fast
forward check fails, it should cause the entire command should
report that with the exit status.
That suggests that we need to come up with a way to clean up
these .keep files some other way than just being one of the
command near the end. As to the mysterious "echo e <empty>"
I will not have chance to look at it myself until later today
(I'm at work now and it is not my git day today).
-
| Nov 30, 5:21 pm 2006 |
| Jakub Narebski | Re: git and bzr
Theodore Tso wrote:
>
| Nov 30, 4:09 pm 2006 |
| Jakub Narebski | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
while in git "git add" means "I want to add this file" (in the state
it is now) and not "I want the system to 'know' about this file".
And "commit" mean "Please commit the current 'known' state of all
files (or/and the current state of files I mention here on the
comand line)".
Yes, this is different than what other SCM do...
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
-
| Nov 30, 2:47 pm 2006 |
| Carl Worth | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
Yes. There is a logical explanation for what git does, and it is
self-consistent.
It just means that the user is _forced_ to pass file state across the:
"working tree" -> git
boundary at two different times with two different commands for the
very first commit the user makes. And the user _must_ understand that
this is a two-step process, (even though, without the "typo" in my
example above it would be natural to conclude the transition occurred
only during "commit").
See? Git _is_ ha...
| Nov 30, 3:04 pm 2006 |
| Peter Baumann | [PATCH] Use git-rev-parse --git-dir to determine GIT_DIR
Signed-off-by: Peter Baumann <siprbaum@stud.informatik.uni-erlangen.de>
---
gitk | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/gitk b/gitk
index ab383b3..60f8212 100755
--- a/gitk
+++ b/gitk
@@ -8,12 +8,7 @@ exec wish "$0" -- "$@"
# either version 2, or (at your option) any later version.
proc gitdir {} {
- global env
- if {[info exists env(GIT_DIR)]} {
- return $env(GIT_DIR)
- } else {
- return ".git"
- }
+ return [exec git rev-p...
| Nov 30, 12:45 pm 2006 |
| Alex Riesen | [PATCH 2/2] add a flag to disable using of Perls MakeMaker m...
There installations (Cygwin + ActivateState Perl) where the generated makefiles
are not usable, because of lineendings and backslashes. The flags is
NO_PERL_MAKEMAKER.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
Just remembered configure script. Maybe it could be taught to
notice the situation and do something about it (like setting the NO_MAKEMAKER).
| Nov 30, 12:30 pm 2006 |
| Jakub Narebski | Re: [PATCH] Make git-commit cleverer - have it figure out wh...
> "Maybe we could do git-commit -a
| Nov 30, 12:28 pm 2006 |
| Jakub Narebski | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
You can ^C the git-commit invocation.
And I guess ORIG_HEAD would help, and reflog certainly would help
reverting (undoing) amend of a commit.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
-
| Nov 30, 12:05 pm 2006 |
| Francis Moreau | How to prepend data when formatting patches ?
Hi
I'd like to add to all patchs created by "git-format-patch" command
the following line:
From: xxx.yyy <foo@crazy.com>
I took a look to the command options and git's hooks but I don't find
a solution to this problem.
Is there any tricks to do this ?
thanks
--
Francis
-
| Nov 30, 10:16 am 2006 |
| Catalin Marinas | Re: How to prepend data when formatting patches ?
In the headers or in the message body? StGIT adds this line
automatically in the message body (and recently only if the sender is
different from the patch author but the templates are flexible and can
be changed).
--
Catalin
-
| Nov 30, 12:00 pm 2006 |
| Francis Moreau | Re: How to prepend data when formatting patches ?
Hi
Johannes adviced me to use:
[format]
headers = "Organization: git-foo\n"
configuration. And it works both for mail header and message body.
thanks
--
Francis
-
| Nov 30, 12:19 pm 2006 |
| Johannes Schindelin | Re: How to prepend data when formatting patches ?
Hi,
From Documentation/git-format-patch.txt:
-- snip --
CONFIGURATION
-------------
You can specify extra mail header lines to be added to each
message in the repository configuration as follows:
[format]
headers = "Organization: git-foo\n"
-- snap --
Hth,
Dscho
-
| Nov 30, 11:39 am 2006 |
| Francis Moreau | Re: How to prepend data when formatting patches ?
I stupily thought that it couldn't be used to prepend message for the
message body. But since it appends the line at the end of mail header,
it does the right thing for me.
Thanks for your quick answer
--
Francis
-
| Nov 30, 12:16 pm 2006 |
| Stephan Feder | Re: [RFC] Submodules in GIT
But you have got the submodule on your local disk anyway. So just setup
It works as it always works in git: The supermodule commit contains the
submodule commit, the submodule commit contains the submodule files, so
the supermodule contains the submodule (at least the part of the
submodule that is visible). It _must_ be one repository but it need not
Again I do not see the problem. Probably I have a much simpler picture
of submodules: They are just commits in the supermodule's tree.
Ever...
| Nov 30, 10:00 am 2006 |
| Andy Parkins | Re: [RFC] Submodules in GIT
How are these commits any different from just having one big repository? If
some of the development of the submodule is contained in the supermodule then
it's not a submodule anymore.
Why bother with all the effort to make a separation between submodule and
supermodule and then store the submodule commits in the supermodule. That's
not supermodule/submodule git - that's just normal git.
Surely the whole point of having submodule's is so that you can take the
submodule away. Let me give ...
| Nov 30, 10:49 am 2006 |
| sf | Re: [RFC] Submodules in GIT
Right now you only have commits of the top directory aka the super
project. Every subdirectory is just that: a directory (which git stores
as trees).
Now, if you have a subdirectory that git stores as a commit, not a tree,
you have a subproject. It is a directory with history, and because the
No, it is not. Currently, there is no way to store a commit within the
Here comes the part where we did not meet before.
Of course you do not make any reference from your subproject to your
...
| Nov 30, 12:05 pm 2006 |
| sf | Re: [RFC] Submodules in GIT
sf wrote:
Sorry, that was supposed to read: followed by a suffix //
The :: does not belong in there.
-
| Nov 30, 12:12 pm 2006 |
| Sven Verdoolaege | Re: [RFC] Submodules in GIT
How are you going to checkout the right commit of the lixcb repo if
you didn't store it in the supermodule ?
skimo
-
| Nov 30, 11:20 am 2006 |
| Andy Parkins | Re: [RFC] Submodules in GIT
Well, I know what the commit is /that/ was all that was stored. So I
(actually supermodule-git does):
cd $DIRECTORY_ASSOCIATED_WITH_SUBMODULE
git checkout -f $COMMIT_FROM_SUPERMODULE
Obviously, this is grossly simplified. It also requires that HEAD be allowed
to be an arbitrary commit rather than a branch, but that's already been
generally agreed upon as a good thing.
Andy
--
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
-
| Nov 30, 11:30 am 2006 |
| Martin Waitz | Re: [RFC] Submodules in GIT
hoi :)
It's not that easy.
You also have to make sure that all your submodule commits that _ever_
have been part of your submodule have be stay in your repository
forever.
Consider that your submodule switches to an other branch and some
old commits are not referenced by the current version any more.
These old commits still have to survive a git-prune, if they have been
part of some old supermodule version.
So you really have to connect both object databases and it's not enough
to just store...
| Nov 30, 1:19 pm 2006 |
| Sven Verdoolaege | Re: [RFC] Submodules in GIT
Then I have no idea what you are talking about.
A commit _contains_ all the history that lead up to that commit,
so if you have the commit, then you also have the history.
skimo
-
| Nov 30, 12:33 pm 2006 |
| Andy Parkins | Re: [RFC] Submodules in GIT
It's not so much an actual commit, as a reference to a commit in another
repository.
Andy
--
Dr Andrew Parkins, M Eng (Hons), AMIEE
andyparkins@gmail.com
-
| Nov 30, 8:01 pm 2006 |
| previous day | today | next day |
|---|---|---|
| November 29, 2006 | November 30, 2006 | December 31, 2006 |
| Sunil Naidu | Re: Linux 2.6.20-rc6 |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Linus Torvalds | Re: init's children list is long and slows reaping children. |
| David Miller | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
git: | |
