| From | Subject | Date |
|---|---|---|
| Prasanna Mumbai | Newbie please help.
Hi all,
I am a newbie to git.
Do we have any documentation for the usage of git. Basically i have
downloaded open-fcoe project into my machine, i want to roll back to
the earlier version. I want some documents which gives a list of
command to be used to see the different versions and download the
somewhat older/stable version.
Thanks in Advance.
~Cheers
Prasanna
--
| Apr 9, 6:03 pm 2008 |
| Vincent Kergonna | Re: Newbie please help.
There is the git user's manual: http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
http://git.or.cz/gitwiki/GitDocumentation contains links to more
--
--
| Apr 9, 6:19 pm 2008 |
| Dirk Süsserott | [PATCH] Documentation/git-request-pull: Fixed a typo ("send"...
From: Dirk Suesserott <newsletter@dirk.my1.cc>
Signed-off-by: Dirk Suesserott <newsletter@dirk.my1.cc>
---
Documentation/git-request-pull.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-request-pull.txt b/Documentation/git-request-pull.txt
index 270df9b..9a14c04 100644
--- a/Documentation/git-request-pull.txt
+++ b/Documentation/git-request-pull.txt
@@ -24,7 +24,7 @@ OPTIONS
URL to include in the summary.
<end>::
- Commi...
| Apr 9, 4:20 pm 2008 |
| Junio C Hamano | Re: [PATCH] Add --only-merges flag to display only merge com...
For that particular use case, I'd suggest --first-parent. It is not just
about filtering the output but more importantly also affects the way the
traversal is done (it does not descend into side branches). It simply is
more suited for the job you described.
At this point, I have a mild aversion to a random addition to rev-list
that does not have to affect how the traversal works but only filters the
output, and more importantly does only a single purpose filtering.
It is very much unclear if ...
| Apr 9, 4:06 pm 2008 |
| Miklos Vajna | Re: [PATCH] Add --only-merges flag to display only merge com...
Hm I was not exactly correct. Trivial fixes are pushed to master
OK, that's something others should decide. :-) I find it useful but maybe
Oh, I forgot about --grep. Though I still think --only-merges would be a
solution and --grep=3D"Merge " is just a workaround, in practice it works
fine, so thanks for the hint. :-)
| Apr 9, 4:38 pm 2008 |
| Heikki Orsila | [PATCH] Add core.sharedRepository == read-only-group
The attached patch adds a new permission mode for core.sharedRepository.
--
Heikki Orsila
heikki.orsila@iki.fi
http://www.iki.fi/shd
| Apr 9, 3:37 pm 2008 |
| Matthias Kestenholz | [PATCH] Use color.ui variable in scripts too
Signed-off-by: Matthias Kestenholz <mk@spinlock.ch>
---
This patch adds color.ui support for scripts. It does that by
modifying `git config --get-colorbool`, because there is no
way to differentiate between undefined and `false` configuration
variables in scripts. Additionally, the scripts don't need to be
changed. I have only tested git add -i; git svn uses the same
functions in Git.pm, so it should work too.
Of course, it would have been nicer if I had made this change
before th...
| Apr 9, 3:32 pm 2008 |
| Joachim B Haga | [PATCH] Re: git clean removes directories when not asked to
I have tried to fix this, but I don't know the code. The previous logic was
obviously (?) broken, as it had this (paraphrased):
if (remove_directories || matches)
remove_dir_recursively(...);
which should have been &&. But with only this change, top-level directories
were not removed even if "-d" was given. Looking at the (!ISDIR) branch, I
guessed that it should instead trigger if pathspec is NULL; i.e, generally
treat (!pathspec) as a match. It looks like the behaviour is correct now...
| Apr 9, 1:04 pm 2008 |
| Ingo Molnar | git annoyances
i just had a rather annoying session with git - here's the dump and
commentary, in case anyone is interested in usability fineprint.
it was with git-core-1.5.4.3-2.fc8 - so if it's all fixed/improved in
1.5.5, or if this is blatant user error for which i deserve to be
punished then my apologies!
usually i just have a single git repo that tracks everything
interesting, but this time i did something i rarely do: i tried to merge
one local tree of mine into another local tree of mine. So i ha...
| Apr 9, 6:14 am 2008 |
| Daniel Barkalow | Re: git annoyances
Git is missing the fact that, while refs/remotes/x86/latest doesn't exist,
there is a fetch rule that would create it. It should suggest "git fetch
x86" or "git fetch x86 latest". This is a bit tricky, because you've used
a shorthand for something that doesn't exist, so there isn't a unique
answer for which full name you're looking for, but there is a unique
solution (in this case) for which one could be created by a pattern you
The right error message here would probably be:
/home/ming...
| Apr 9, 3:21 pm 2008 |
| Ingo Molnar | Re: git annoyances
well, current git got to /home/mingo/linux-2.6-x86.git/ which is a local
path. (it is printing it in the error message above) So i think it was
rather unambiguous what i meant and Git knew about it, right?
but even if it _was_ ambiguous, i think tools should generally default
to a minimal amount of hassle for new users and should try to pick
reasonable "action" versus any "inaction". (as long as the behavior is
still deterministic and reasonable even to the long-time user)
but more impor...
| Apr 9, 4:41 pm 2008 |
| Junio C Hamano | Re: git annoyances
Thanks. It is always enlightening to see this kind of walkthru session to
learn where the UI warts are. The ones with concrete suggestions for
You told git that "I'll interact with this other repository from now on,
so please help me with some extra settings to do so. Namely I do not want
to keep typing it in full URL all the time so I want an abbreviated way to
tell you I am talking about this remote repository, and also I want to
have set of remote tracking branches for this one".
Maybe "r...
| Apr 9, 5:04 pm 2008 |
| André Goddard Rosa | Re: git annoyances
Something along the lines of:
Error description
Why it happened
How to solve/Sugestion
--
[]s,
André Goddard
--
| Apr 9, 7:56 pm 2008 |
| Jon Loeliger | Re: git annoyances
Hey Junio,
I'm hearing you here! :-)
I think a furtherance of this notion is to
teach "git fetch ; git merge" before "git pull".
Thanks,
jdl
--
| Apr 9, 5:39 pm 2008 |
| Nicolas Pitre | Re: git annoyances
Amen!
Nicolas
--
| Apr 9, 7:45 pm 2008 |
| Jeff King | Re: git annoyances
For me personally, I think this bottom-up approach makes the most sense
to learning (this may look familiar from the commit message to a patch I
sent earlier):
1. here is what "git pull $repo $branch" means
2. here is a way to shorten it to "git pull $repo" (set up remote
$repo)
3. here is a way to shorten it to "git pull" (default to origin)
But I think there are people who will get to the list and say "why
didn't you just tell me 'git pull' in the first place?" That is, the
compl...
| Apr 9, 5:45 pm 2008 |
| Jeff King | Re: git annoyances
As you figured out later, the problem was that "git remote add" doesn't
actually fetch the remote's contents: it just sets up the remote. There
is a "-f" option which does the fetch automagically after adding.
In this case, had "-f" been the default, it would have Just Worked for
you. So that's something for us to consider, but I'm not sure if we
This is another place where we might have DWYM, by seeing that your
repository name started with "<name of a remote>/" and splitting it into
"&l...
| Apr 9, 10:57 am 2008 |
| Avery Pennarun | Re: git annoyances
My co-workers frequently get confused by this too. The problem is
that "x86/latest" is a locally existing remote branch ref, while "x86
latest" is supposed to be a branch ref on a remote system.
I think the real problem here is that you can't refer to a
remote+branch as a single "word". If you could, then people could
just learn to use that everywhere and never get confused.
For example, in svn you can talk about
svn+ssh://reposerver/path/to/repo/branches/foo@1234; it's a single
"word" that ...
| Apr 9, 1:08 pm 2008 |
| Teemu Likonen | Friendly refspecs (Was: Re: git annoyances)
I have found this refs/heads/*:refs/remotes/* stuff quite confusing, but
I'm starting to understand them. I know my way with them but still they
seem quite unnecessary hackerish. Pull and push work pretty nicely
without knowing about any refs/* stuff; they can be operated with simple
branch names. Fetch is another story. Some ideas:
$ git fetch <URL>
would be equivalent to
$ git fetch <URL> +refs/heads/*:refs/remotes/<name>/*
In other words, fetch all the branches fro...
| Apr 9, 4:08 pm 2008 |
| Junio C Hamano | Re: Friendly refspecs
Teemu Likonen <tlikonen@iki.fi> writes:
[By the way, please never redirect the response to your messages away from
you with:
Mail-Followup-To: Jeff King <peff@peff.net>, Ingo Molnar <mingo@elte.hu>,
git@vger.kernel.org
You wasted 30 seconds of my (and anybody who potentially wanted to give
advice to you) time by forcing me fix the To: header while composing this
response. I know Jeff understands what I am going to mention, and I do
I'd suggest you to study:...
| Apr 9, 5:21 pm 2008 |
| Avery Pennarun | Re: Friendly refspecs (Was: Re: git annoyances)
But what should <name> be if you didn't provide it by doing
git-remote-add? I think the lack of an obvious name for them is
exactly why the branch names don't get created automatically.
Avery
--
| Apr 9, 4:32 pm 2008 |
| Jeff King | Re: Friendly refspecs (Was: Re: git annoyances)
This has been discussed before and rejected, because the point of doing
a fetch of a URL (rather than a remote name) is to do a "one-off" thing.
IOW, you don't _want_ the tracking branches, as they will just clutter
your branch space (plus choosing the last component is a bad heuristic;
lots of people must ask Linus to pull from their .../linux-2.6
repository).
Almost nobody says "git fetch <URL>"; it is just a subpart of "git
pull <URL>" which is intended for one-off merges (i.e., yo...
| Apr 9, 4:34 pm 2008 |
| Teemu Likonen | Re: Friendly refspecs (Was: Re: git annoyances)
First, thank you for such a detailed information and giving somewhat
different point of view from mine.
Ok, "git fetch <URL>" has its own "point", as you noted, and no doubt
it's for good reasons. I just had partially misunderstood its point. See
Hmm, maybe. I recently wanted to join two purely local repos together.
Both of them had just one branch. Totally different histories so no
actual mergin would happen; just two branches in the same repo. I don't
know why but "git fetch /the/other/...
| Apr 9, 6:25 pm 2008 |
| Jeff King | Re: Friendly refspecs (Was: Re: git annoyances)
Ah, OK. In that case, I think the right thing to do would not be to set
up a remote, but to fetch explicitly into a local branch. I assume when
you say "joining" you mean "so I can get rid of the individual ones".
So something like:
cd repo1
git fetch ../repo2 master:repo2-topic
which creates refs/heads/repo2 in repo1, and you can safely delete
repo2.
If you _did_ want to keep repo2 around indefinitely, and you are
"joining" so that you can do diffs, then you probably do want a remote
...
| Apr 9, 6:51 pm 2008 |
| Jeff King | [PATCH] git-remote: show all remotes with "git remote show"
Many other commands use the "no arguments" form to show a
list (e.g., git-branch, git-tag). While we did show all
remotes for just "git remote", we displayed a usage error
for "git remote show" with no arguments. This is
counterintuitive, since by giving it _more_ information, we
get _less_ result.
The usage model can now be thought of as:
- "git remote show <remote>": show a remote
- "git remote show": show all remotes
- "git remote": assume "show"; i.e., shorthand for "git remote ...
| Apr 9, 11:15 am 2008 |
| Johannes Schindelin | Re: [PATCH] git-remote: show all remotes with "git remote sh...
Hi,
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Ciao,
Dscho
--
| Apr 9, 12:54 pm 2008 |
| Ingo Molnar | Re: [PATCH] git-remote: show all remotes with "git remote sh...
cool, thanks!
Ingo
--
| Apr 9, 4:07 pm 2008 |
| Björn | Re: git annoyances
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I gues that's key here. The remote was added, but you don't actually
have fetched the branches yet. Thus the merge fails, but the pull with
The syntax is "git pull <repository> <refspec>"
So you're trying to fetch/pull from a repository in "x86/latest", that
path doesn't exist and that is pretty fatal as you cannot fetch/pull
AFAIK merge cannot handle stuff that's outside your repo. To merge stuff
from another repo ...
| Apr 9, 6:41 am 2008 |
| Jim Meyering | [PATCH] (parsecvs) avoid "git mktag" failure with newer git
With recent git, parsecvs now always fails like this:
...
Save: master *.................... 1 of 269
Save: master *.................... 2 of 269
error: char77: malformed tagger field
fatal: invalid tag signature file
git-mktag < '.git-cvs/tag-0': No such file or directory
This is due to the change that makes git's mktag perform
stricter input validation. parsecvs patch below.
[BTW, Keith, or anyone with wri...
| Apr 9, 6:01 am 2008 |
| Junio C Hamano | A note from the maintainer
Welcome to git community.
This message talks about how git.git is managed, and how you can work
with it.
* IRC and Mailing list
Many active members of development community hang around on #git
IRC channel on Freenode. Its log is available at:
http://colabti.org/irclogger/irclogger_log/git
The development however is primarily done on the git mailing list
(git@vger.kernel.org). If you have patches, please send them to the
list, following Documentation/SubmittingPatches.
I usual...
| Apr 9, 5:44 am 2008 |
| Junio C Hamano | What's cooking in git.git (topics)
Here are the topics that have been cooking. Commits prefixed
with '-' are only in 'pu' while commits prefixed with '+' are
in 'next'.
The topics list the commits in reverse chronological order.
Caution. "next" has been rebuilt with the remaining topics on top of
"master". "maint" is still for 1.5.4.X maintenance track for tonight.
A rough timeline from now on.
* Brown paper back fixes, if any, for 1.5.5.1 (2008-04-16).
* Discussion and review on new feature and enhancement patch series...
| Apr 9, 5:43 am 2008 |
| Junio C Hamano | What's in git.git (stable)
* The 'master' branch has these since v1.5.5.
Frank Lichtenheld (4):
var: Don't require to be in a git repository.
Git.pm: Don't require a repository instance for config
Git.pm: Don't require repository instance for ident
send-email: Don't require to be called in a repository
Gerrit Pape (2):
gitweb: fallback to system-wide config file if default config does not
exist
gitweb: fallback to system-wide config file (fixup)
Govind Salinas (1):
pretty.c: add %x00 format specifie...
| Apr 9, 5:44 am 2008 |
| Junio C Hamano | [ANNOUNCE] GIT 1.5.5
The latest feature release GIT 1.5.5 is available at the usual
places:
http://www.kernel.org/pub/software/scm/git/
git-1.5.5.tar.{gz,bz2} (tarball)
git-htmldocs-1.5.5.tar.{gz,bz2} (preformatted docs)
git-manpages-1.5.5.tar.{gz,bz2} (preformatted docs)
RPMS/$arch/git-*-1.5.5-1.$arch.rpm (RPM)
We kept this cycle just slightly over two months, as the previous 1.5.4
cycle was painfully tooooo long.
GIT v1.5.5 Release Notes
========================
Updates since v1.5.4
-----...
| Apr 9, 2:51 am 2008 |
| Junio C Hamano | Re: [PATCH 1/8] git-rebase.sh: Fix --merge --abort failures ...
This dq should not be necessary.
The rest of this looked fine.
--
| Apr 9, 2:50 am 2008 |
| Junio C Hamano | Apr 9, 2:50 am 2008 | |
| Junio C Hamano | Re: Is my repository broken?
That's not a fair complaint.
It is often very hard to document that "we do not do X", because the line
to stop at becomes fuzzier as you try to do more thorough job. We do not
warn on empty ident, we do not warn on typos in commit log messages, we do
not warn on empty blob, we do not warn on ... You get the idea.
--
| Apr 9, 2:50 am 2008 |
| Julian Phillips | Re: Is my repository broken?
I didn't mean it as a complaint, but rather was hoping for a response of
the form "no, it's not there" or "it's in the ... section" - sorry for not
being clear. It caught me out, if that was my own fault then fair enough
- but if this was because the documentation doesn't make it clear then I
can submit a documentation patch to try and help others avoid the same
problem.
I think that the fast-import tool is extremely useful, and generally very
well documented. That doesn't mean that the d...
| Apr 9, 6:01 am 2008 |
| Carlos Rica | [PATCH] Fix documentation syntax of optional arguments in sh...
When an argument for an option is optional, like in -n from git-tag,
putting a space between the option and the argument is interpreted
as a missing argument for the option plus an isolated argument.
Documentation now reflects the need to write the parameter following
the option -n, as in "git tag -nARG", for instance.
Signed-off-by: Carlos Rica <jasampler@gmail.com>
---
Documentation/git-tag.txt | 4 ++--
parse-options.c | 2 +-
2 files changed, 3 insertions(+), 3 deletion...
| Apr 9, 12:24 am 2008 |
| Carlos Rica | Re: [PATCH] Fix documentation syntax of optional arguments i...
When an argument for an option is optional, like in -n from git-tag,
puting a space between the option and the argument is interpreted
as a missing argument for the option plus an isolated argument.
Documentation now reflects the need to write the parameter following
the option -n, as in "git tag -nARG", for instance.
Signed-off-by: Carlos Rica <jasampler@gmail.com>
---
I forgot to make the same change to the command's syntax in builtin-tag.c.
I didn't check if this also happens fo...
| Apr 9, 7:07 am 2008 |
| Bryan Donlan | [PATCH 0/8] Fix git's test suite to pass when the path conta...
This patch series fixes bugs in git and git's testsuite to allow all tests
to pass when the working directory contains whitespace and/or shell
metacharacters.
The first three patches in this series fix bugs in git itself that were
uncovered in the process of fixing the test suite. Each contains additional
tests and/or updates to existing tests to exercise the bug in question.
The remaining patches fix bugs in the test suite itself.
Bryan Donlan (8):
git-rebase.sh: Fix --merge --abort failure...
| Apr 8, 9:29 pm 2008 |
| Bryan Donlan | [PATCH 1/8] git-rebase.sh: Fix --merge --abort failures when...
Also update t/t3407-rebase-abort.sh to exercise the bug
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
---
git-rebase.sh | 4 +-
t/t3407-rebase-abort.sh | 55 +++++++++++++++++++++++++++-------------------
2 files changed, 34 insertions(+), 25 deletions(-)
diff --git a/git-rebase.sh b/git-rebase.sh
index 60c458f..389b5cb 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -42,7 +42,7 @@ To restore the original branch and stop rebasing run \"git rebase --abort\".
unset...
| Apr 8, 9:29 pm 2008 |
| Johannes Sixt | Re: [PATCH 1/8] git-rebase.sh: Fix --merge --abort failures ...
This is not strictly necessary: The RHS expression of an assignment does
not undergo IFS splitting; but better safe than sorry. (But note that
'export foo=$bar', which is not POSIX, is *not* an assignment, and
In effect, you modify only this test to stress-test strange characters,
but other tests in the test suite still run in a "sane" environment. IOW,
I don't think you should go to this extreme for this one test only. The
better approach would be to rename 'trash' in test-lib.sh to this strange
...
| Apr 9, 2:55 am 2008 |
| Bryan Donlan | Re: [PATCH 1/8] git-rebase.sh: Fix --merge --abort failures ...
Since Junio asked(?) that it be removed, I'll drop it from the next rev
I can do that, but it'd have to come as the last patch in the patchset,
or it would obviously cause test failures. My goal here was to ensure
that the bug I fixed in the patch would be tested in an isolated manner.
If you like I can add a change to the trash directory to the next rev of
I assumed that if git reset failed here we'd probably want to know :)
Thanks,
Bryan
--
| Apr 9, 10:37 am 2008 |
| Johannes Sixt | Re: [PATCH 1/8] git-rebase.sh: Fix --merge --abort failures ...
I for my taste could live without a test because the fix is so obvious.
Given that you have to prepend 'cd "$work_dir"' to *all* the tests, this
really just highlights that for the purpose of this test the name 'trash'
of the regular test directory is just too simple ;)
Of course, it's Junio's draw, and he likes to have tests for fixes that
On second sight, this indeed looks just like an omission and your change
is good.
-- Hannes
--
| Apr 9, 10:51 am 2008 |
| Bryan Donlan | Re: [PATCH 1/8] git-rebase.sh: Fix --merge --abort failures ...
How exotic ought it be? I'm not entirely sure which characters are
allowed on windows or any other non-unixes that git supports (are there
any?)
Thanks,
Bryan
--
| Apr 9, 11:02 am 2008 |
| Bryan Donlan | [PATCH 2/8] config.c: Escape backslashes in section names pr...
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
---
config.c | 2 +-
t/t1303-wacky-config.sh | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/config.c b/config.c
index 0624494..6c07245 100644
--- a/config.c
+++ b/config.c
@@ -672,7 +672,7 @@ static int store_write_section(int fd, const char* key)
if (dot) {
strbuf_addf(&sb, "[%.*s \"", (int)(dot - key), key);
for (i = dot - key + 1; i < store.baselen; i++) {
- if (key[i]...
| Apr 8, 9:29 pm 2008 |
| Johannes Sixt | Re: [PATCH 2/8] config.c: Escape backslashes in section name...
What is your definition of "properly"? Please give an example of what went
wrong.
-- Hannes
--
| Apr 9, 2:31 am 2008 |
| Bryan Donlan | Re: [PATCH 2/8] config.c: Escape backslashes in section name...
The included patch to the test suite is an example - specifically if an
element of the configuration key name other than the first or last
contains a backslash, it would not be escaped on output, but would be
treated as an escape sequence on input. Thus the backslash would be
lost.
--
| Apr 9, 10:13 am 2008 |
| Johannes Sixt | Re: [PATCH 2/8] config.c: Escape backslashes in section name...
Could you then please add this to the commit message, most importantly,
the last sentence?
-- Hannes
--
| Apr 9, 10:25 am 2008 |
| Bryan Donlan | [PATCH 3/8] git-send-email.perl: Handle shell metacharacters...
Also, update t/t9001-send-email.sh to test for this bug.
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
---
git-send-email.perl | 2 +-
t/t9001-send-email.sh | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/git-send-email.perl b/git-send-email.perl
index be4a20d..975df1c 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -510,7 +510,7 @@ EOT
close(C);
my $editor = $ENV{GIT_EDITOR} || $repo->config("core.editor") || $ENV{VISUA...
| Apr 8, 9:29 pm 2008 |
| previous day | today | next day |
|---|---|---|
| April 8, 2008 | April 9, 2008 | April 10, 2008 |
| hooanon05 | [PATCH 67/67] merge aufs |
| Greg Kroah-Hartman | [PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt |
| monstr | [PATCH 33/52] [microblaze] bug headers files |
| Oliver Pinter | Re: x86: 4kstacks default |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
