git mailing list

Fromsort iconSubjectDate
Alexandre Julliard
Re: Cleaning up git user-interface warts
That sounds very interesting. Has it ever been implemented, or only discussed? -- Alexandre Julliard julliard@winehq.org -
Nov 17, 12:49 pm 2006
Bobbi Jones
New software uploaded by Victor on Nov 18 05:00:00 MSK 2006
Victor has uploaded some new software for you! Click here to view available updated software from Victor: http://deda-baba.org/?Victor # cd databases J. Random Provider specify: 0xd8 read - NS16450 use this script instead: and modify it by for more info. When parity is enabled, setting this To single-step the kernel, try man/man1/oneko.1.gz prompt at the specified initial line speed. getty watches to see if delta is applied to it instead. This way the foo/bar.c file can...
Nov 17, 10:16 pm 2006
Carl Worth
Re: multi-project repos (was Re: Cleaning up git user-interf...
Yes, this was my exact thought when reading what Linus wrote. ORIG_HEAD might be fine and all, but it pales in functionality compared to what reflog provides. I would very much like to see reflog getting first-class citizen support in git: 1. Be on by default 2. Get documented in all the right places, (much better than adding documentation for ORIG_HEAD in my opinion) 3. Tighter integration with branch manipulations. Do we already delete reflog when deleting a branch? We don't have ...
Nov 17, 12:46 pm 2006
Carl Worth
Re: multi-project repos (was Re: Cleaning up git user-interf...
It's not even all that convenient on a U.S. keyboard. My pinky suffers a bit having to pop on and off of shift for the '{', '1', '}'. Then again, I don't like having to hold shift down for all of ORIG_HEAD either, (but it's definitely easier in comparison). But since reflog does everything ORIG_HEAD does and more, shall we just clean up the syntax somehow? Ideas anyone? And then fix the documentation to explain that? -Carl
Nov 17, 12:51 pm 2006
Carl Worth
Re: Cleaning up git user-interface warts
That's fine with me. Maybe I didn't explain this well before, but my desire is exactly for this to work with multiple repositories. Specifically, what we have in cairo is a "central" shared tree that many people push to. But we only have two branches there, (one for bug-fixes only for our stable releases, and one for ongoing development of new features, and that only of stuff that's well cooked). So that tree looks and acts an awful lot like our cvs tree back in the past. It's often very linea...
Nov 17, 5:18 am 2006
Chris Riddoch
[PATCH] Move --pretty options into Documentation/pretty-form...
Asciidoc-include it into the manuals for programs that use the --pretty command-line option, for consistency among the docs. Signed-off-by: Chris Riddoch <chris@syntacticsugar.org> --- Documentation/git-diff-tree.txt | 7 +++---- Documentation/git-log.txt | 3 +-- Documentation/git-rev-list.txt | 6 +----- Documentation/git-show.txt | 5 +---- Documentation/pretty-formats.txt | 29 +++++++++++++++++++++++++++++ 5 files changed, 35 insertions(+), 15 deletions(-...
Nov 17, 8:58 pm 2006
Chris Riddoch
Re: [DRAFT] Branching and merging with git
As a relatively new user myself, I ran into the same confusion when I came to the website for the first time. One of the most prominent things on the front page is the "Git Crash Courses." Clicking on that gives me the crash courses, all of which are about Cogito, not for Git. So why doesn't the front page say "Cogito Crash Courses" instead? And I don't think it matters much whether Cogito makes things easier or not -- the Git website really should make Git's documentation more prominent than...
Nov 17, 6:36 pm 2006
Eric Wong
Re: git-svn bug?
Sorry for the late replies, I've been caught up with other things. dcommit expects to be run on a git-svn fetch-ed HEAD that is linear superset of remotes/git-svn. That is: remotes/git-svn..HEAD should (ideally) contain no merges, and no root commits. git-svn currently This commit is missing the git-svn-id: line at the bottom. If you simply left it out (private svn repository info), can you check that the URL in this line is actually for the SVN repository you want to commit to? It seems ...
Nov 17, 4:55 am 2006
George Sherwood
http git and curl 7.16.0
I seem to be having a problem doing an http checkout with git built with curl 7.16.0 enabled. If I build against curl 7.16.0 and try a clone, I get: git clone http://dmlb2000.homelinux.org/~dmlb2000/git-repos/local/castfs.git error: Unable to start request error: Could not interpret heads/master as something to pull If I rebuild git against curl 7.15.5 then I get: git clone http://dmlb2000.homelinux.org/~dmlb2000/git-repos/local/castfs.git got 9a985de4a4cfa973a4573828df4cbb2e4f66c419 walk 9a9...
Nov 18, 12:07 am 2006
J. Bruce Fields
Re: [DRAFT] Branching and merging with git
This has some useful material that fills gaps in the existing documentation. We need to think a little more about the intended audience, and about how to fit it in with existing documentation. Who's the audience for the above? I can see that it's useful for administrators, who may need help deciding how to install stuff, and for developers, who need to know where the heck the code for "git-add" came from. But the case I'm most interested in is the user whose distribution installs git for them,...
Nov 17, 1:44 pm 2006
J. Bruce Fields
Re: [DRAFT] Branching and merging with git
Yeah, the really difficult problem here is figuring out how to organize the documentation. There are a few needs: 1. Quick-start/task-based documentation - We want to "sell" git to the beginning user by getting them up and running as quickly as possible. - We need to help people with some limited needs-- testers who just need to download the latest linux git tree, or bisect, or whatever. - It's also a fun way to demonstrate the richness of some git features (e.g. history...
Nov 17, 2:21 pm 2006
Jakub Narebski
Re: [DRAFT] Branching and merging with git
> object ID, plus a newline.
Nov 17, 5:37 am 2006
Jakub Narebski
Re: [DRAFT] Branching and merging with git
linux@horizon.com wrote: > There is always a current head, known as HEAD.
Nov 17, 5:41 am 2006
Jakub Narebski
Re: [DRAFT] Branching and merging with git
> You can specify what to fetch on the git-fetch command line.
Nov 17, 6:37 am 2006
Jakub Narebski
Re: Cleaning up git user-interface warts
> created only by "git clone" or by hand.
Nov 17, 8:25 am 2006
Jakub Narebski Nov 17, 8:53 am 2006
Jakub Narebski
Re: Cleaning up git user-interface warts
Han-Wen Nienhuys wrote: > As another example:
Nov 17, 9:25 am 2006
Jakub Narebski
Re: Cleaning up git user-interface warts
What about proposed (and I think not accepted) merge strategy "rebase" (formerly called "subordinate" or something like that)? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git -
Nov 17, 9:32 am 2006
Jakub Narebski
Re: Cleaning up git user-interface warts
git diff --root HEAD, perhaps? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git -
Nov 17, 9:45 am 2006
Jakub Narebski
[RFC] gitweb TODO
These are a few gitweb issues and features I'm currently working on (or plan working on). 1. New patchset view (commitdiff, blobdiff) In "old" gitweb commitdiff view was generated by iterating over lines of git-diff-tree raw format output, and generating diffs using git-cat-file and external diff utility (/usr/bin/diff). This required having temporary directory for diff generation, and of course diffs didn't have extended git headers. The "new" commitdiff view is generated from single git...
Nov 17, 2:01 pm 2006
Jakub Narebski
Re: [DRAFT] Branching and merging with git
But it is encouraged (also for example by git-completion.bash) to use "git foo" form in command line (because git commands can be not in the PATH, It would be useful to cover all non-reductible cases of recursive merge strategy (the default merge strategy for two-head merges) conflicts: contents (covered), add/add, rename/modify etc. So some info about recirsive merge strategy would be useful. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git -
Nov 17, 2:16 pm 2006
Jakub Narebski
Re: [DRAFT] Branching and merging with git
linux@horizon.com wrote: See commit d425142e2a045a9dd7879d028ec68bd748df48a3 (most legged octopus I found in git.git repository). Doing git-rev-parse --parents -all, or git log --all and greppoing for merges is a good idea to find octopi. The commit is both v1.1.2-gd425142 (git describe) and tags/v1.2.0^0~143 (git name-rev --tags) -- Jakub Narebski Warsaw, Poland ShadeHawk on #git -
Nov 17, 8:32 pm 2006
Jakub Narebski
Re: Cleaning up git user-interface warts
There was some implementation with warts http://thread.gmane.org/gmane.comp.version-control.git/30068 Message-Id: <20061025155009.GD5591@parisc-linux.org> which didn't got corrected and resent. -- Jakub Narebski Poland -
Nov 17, 1:41 pm 2006
Jakub Narebski
Re: [RFC] gitweb TODO
What about the fact that git-diff -M is _not_ patch-compatibile; does creating two patches for one difftree raw format line for mode change/'T' status (I guess only for "type" mode changes, i.e. file to/from symlink, file to/from directory) helps understanding the change? If not, perhaps it would be better to introduce option I'd say "buffering" rather than "caching". The problem is that you have to read up to the "index <hash>..<hash>[ <mode>]" to check if you have to go to the...
Nov 17, 4:30 pm 2006
Jakub Narebski
Re: [PATCH] gitweb: Atom feeds
True. "<pre>" in RSS feed is better (I don't know if you can give CSS Which one liner? As far as I can see the patch does NOT use href(-full=>1,...) but esc_url(...). Perhaps this is for next patch. BTW I have encountered something calles Atom Publishing Protocol (APP): perhaps we should also add this in addition to currently used OPML. -- Jakub Narebski Torun, Poland ShadeHawk on #git -
Nov 17, 7:36 am 2006
Jakub Narebski
Re: [RFC] gitweb TODO
So we split patch for "type change" mode change for patch -p1 safety. But for gitweb more important than producing safe patch is producing _readable_ patch[*1*]. Hence request for -T option (or under other, better name) to git-diff which would _not_ split patch (not create two patches for one raw difftree line). Sorry, perhaps I was not clear. I'd like for git-diff-tree --cc --raw -p to output both raw part (perhaps taken from -c) and patch part[*2*]. Gitweb needs raw part for both whatchange...
Nov 17, 5:24 pm 2006
Johannes Schindelin
Re: multi-project repos (was Re: Cleaning up git user-interf...
Hi, I show him how to use it. And that's actually a fine analogy: While the principle of a screw is quite clever, working with it -- even with an electric screwdriver -- is easy. And the most important part: I never read instructions on how to use it. I saw somebody use it and -- voila! -- I I think that the importance of documentation is overrated. Users have come to expect to use programs without reading a manual. DWIM comes to mind. Ciao, Dscho -
Nov 17, 6:02 am 2006
Johannes Schindelin
Re: [PATCH 4/5] allow deepening of a shallow repository
Hi, I fully agree. Even the OA did not understand the code fully ;-) How about adding "int force_reparse" to the signature of unregister_shallow()? (Just like we added "int cleanup" to get_merge_bases() to avoid pilot errors.) Ciao, Dscho -
Nov 17, 5:52 am 2006
Johannes Schindelin
Re: Cleaning up git user-interface warts
Hi, I introduced the remote.<nick>.{url,fetch,push} entries into the config with the goal to enhance -fetch to remember the current command line with a setting. I was the only one to find that useful. BTW I still would argue that it is better to write the remote information into the config, because you have a saner way to manipulate that from I think a message like "This remote branch no longer exists. Maybe you want to use 'git branch -d <branch>' to remove it locally?" ...
Nov 17, 6:11 am 2006
Jon Loeliger
Re: information for a 60-minute "intro to git" needed
For the record, no MS products were used in the creation of those papers, nor the presentations. I wrote plain ASCII text for the papers, and the presentation was done in OpenOffice. After that, however, I don't know how Linux Magazine produced the PDF files for the articles. :-) jdl -
Nov 17, 3:24 pm 2006
Jon Loeliger
Re: information for a 60-minute "intro to git" needed
Yes, I _know_ you meant "do well", not "Use MS Excel"... :-) jdl -
Nov 17, 3:31 pm 2006
Junio C Hamano
Re: [PATCH] Make "git checkout <branch> <path>" ...
Actually it is not pushed out anywhere yet but will appear on both 'maint' and 'master' along with other post 1.4.4 fixes and will be contained in the 1.4.4.1 maintenance release. The role of each branch at my public repository is desribed in this message: Message-ID: <7vk62qhy4k.fsf@assigned-by-dhcp.cox.net> http://article.gmane.org/gmane.comp.version-control.git/29951 In general, if your changes and fixes are applicable in isolation to "master", it is most appropriate to send patch...
Nov 17, 4:15 am 2006
Junio C Hamano
Re: [DRAFT] Branching and merging with git
Yes, and I am actually interested in at least doing the initial damage assessment myself but people are welcome to beat me to it. The easies part would be to just try writing a bare SHA-1 to .git/HEAD with: H=$(git-rev-parse --verify HEAD) echo $H >.git/HEAD git.git itself is full of them, but the very first octopus (it actually is a pentapus) is rather nice to watch in gitk: 211232bae64bcc60bbf5d1b5e5b2344c22ed767e You can look for them with: git rev-list --parents HE...
Nov 17, 8:40 pm 2006
Junio C Hamano
Re: [DRAFT] Branching and merging with git
Having said that, I think it is not a good idea to talk about octopus in introductory documents. The 'feature' may be unique to git and some people might even find it cool, but new people should not be encouraged to use it until they understand the ramifications. The first ever octopus merge was just a bundle of five forked development branches, each of which had only one commit since it forked from the common parent. .-a-. .--b--. O---c---X '--d--...
Nov 17, 9:11 pm 2006
Junio C Hamano
Re: [DRAFT] Branching and merging with git
Of course "git log -p --merge -- $path" would give the patch "show $merge" is really "diff-tree --cc -p $merge". So first I should (not necessarily "you should to the readers of this document") talk about three ways to describe a merge commit with textual diffs. (1) N independent diffs between each of the parents and the child. We could get this with git diff-tree -m -p $merge but it is mostly useless, because very often many paths in a merge are truly trivial and the ...
Nov 17, 1:55 am 2006
Junio C Hamano
Re: [PATCH] Move --pretty options into Documentation/pretty-...
Beautiful, although I doubt we would want to spell out the exact output format in that documentation (if so you would need to talk about Merge: entries that we conditionally give and how commit object names are abbreviated and such). On the other hand, we might want to talk about Merge: entries anyway to say the values can be affected by merge simplification. Independent of the above concerns, I trust somebody else will follow this up with a patch to describe missing pretty formats? -
Nov 17, 9:15 pm 2006
Junio C Hamano
Re: [PATCH] Do not ignore hidden refs
refs.c::check_ref_format() seems to suggest that any ref whose path component begins with a dot is invalid (since October last year), so I am a bit surprised you are bringing this up now. Do you know of specific examples where this is not enforced? It could even be argued that the places in the system that allow such a ref are buggy. I do not recall why we decided that this particular restriction was needed (I do understand the other three restrictions --- see commit log of 03feddd6), although...
Nov 18, 12:39 am 2006
Junio C Hamano
Re: [PATCH] Fix git-for-each-refs broken for tags
Thanks for noticing. This is not like rev-list where we walk all over the map of ancestry graph, so it might be a simpler and better to keep the buffer than to keep duplicate copies of pieces. -
Nov 18, 12:45 am 2006
Junio C Hamano
Re: [PATCH] Make "git checkout <branch> <path>" ...
Thanks. I think I sent out the same yesterday morning, though. Message-ID: <7vbqn8msuw.fsf@assigned-by-dhcp.cox.net> The difference is that the one tries to catch misspelled <path>. -
Nov 17, 2:04 am 2006
Junio C Hamano
Re: [RFC] gitweb TODO
This is the most appropriate. Right now it is not independently controllable but it is not so inplausible for somebody to want to get non recursive view of 'raw' part along with textual diffs when running "--raw -p" diff and your solution c. is robust against even such changes. I would probably not call that "caching" but keeping track of where you are, and you would need to know in which filepair you are in anyway when you want to implement links to blob view from I am not sure what's more u...
Nov 17, 3:22 pm 2006
Junio C Hamano
Re: [PATCH] gitweb: Atom feeds
Seems sane to me. Jakub, how do you like this one? If it looks Ok to you, please arrange to include your one-liner that this depends on and forward a readily applicable patch with appropriate commit log message. -
Nov 17, 5:01 am 2006
Junio C Hamano
Re: [PATCH 4/5] allow deepening of a shallow repository
That does not fly so well. Your fetch-pack.c does this in find_common() and dropping the parsed flag inside unregister causes it to be parsed again later with its true parents, which defeats what the commented part of the code wanted to do. if (!lookup_object(sha1)) die("object not found: %s", line); /* make sure that it is parsed as shallow */ parse_object(sha1); if (unregister_shallow(sha1)) die("no shallow found: %s", line); continue; Although I am reasonably sure we can eventu...
Nov 17, 5:09 am 2006
Junio C Hamano
Re: Cleaning up git user-interface warts
stg pull would help you in such a situation as well, but I see what you mean. Just like we have an explicit -m option to "checkout" to allow file-level merging of local changes, I think it is reasonable to hav an option that allows file-level merging of local changes when doing a pull that you _know_ will not conflict. When there will be a conflict between your HEAD and MERGE_HEAD even without your local changes, you somehow need to sort out the resulting mess that come from conflicts due to t...
Nov 17, 5:35 pm 2006
Junio C Hamano
Re: [RFC] gitweb TODO
What about it? I've never said patch compatibility is an issue. We have something patch cannot represent or understand and you should admit it. The point is to make it easier to massage by hand, when the recipient does not have git handy. With -M, the recipient can read and understand the patch text better than "remove this oldfile and create this newfile that the diff output does not tell you is related" diff. And we say "rename" in plain language so the recipient _can_ do "mv A B" then "pat...
Nov 17, 5:08 pm 2006
Junio C Hamano
Re: [PATCH 4/5] allow deepening of a shallow repository
I do not think that's where its fragility lies. It is that any random place can later call parse_object() on the commit, after you elaborately pre-parsed it with shallow so that it appears to have fewer parents, with the expectation that nobody ever would clear the parsed bit and cause it to be reparsed again. With that assumption, find_common() manipulated the shallow entry after setting that scheme up. A mechanism to prevent the commit from getting re-parsed would have made it more robust. ...
Nov 17, 7:35 am 2006
Junio C Hamano
Re: information for a 60-minute "intro to git" needed
I thought I saw somebody running an OpenOffice presentation on a windows machine at OLS, and have a vague recollection that it was you ;-). -
Nov 17, 4:27 pm 2006
Junio C Hamano
Re: Cleaning up git user-interface warts
I am not sure what you mean. .git/remotes files do not describe any relationship between local branches (and that is where one of the problem raised in recent thread -- pull does not notice on which branch you are on and change its behaviour depending on it), so I do not think there is anything gained for "git branch I muttered something in a near-by thread Message-ID: <7vr6w78b4x.fsf@assigned-by-dhcp.cox.net> I am reasonably sure a separate tool (what I tentatively called "maint-rem...
Nov 17, 3:32 am 2006
Junio C Hamano
Re: multi-project repos
Are you sure about this? I've seen "next@{1}" to look at history of the named branch, but never history of "HEAD". -
Nov 17, 1:39 pm 2006
Junio C Hamano
Re: multi-project repos
When I make a tag that says "this is the v1.2.0 release", it is expected it won't change in the future, ever. I _can_ make mistake and tag a wrong commit under v1.2.0 name, in which case I may have to replace it with another corrected tag, but recoding that mistake does not really add value. So most of the time ref-log for a tag would contain only one entry per file, its creation, but that creation time is already recorded in the tag object itself anyway. At times, it may be useful to have som...
Nov 17, 4:24 pm 2006
Junio C Hamano
Re: Cleaning up git user-interface warts
I have no objection to this if it is done in a controlled way that does not make life more difficult for people who work with multiple remote repositories. And I think "git fetch" is the tool for what you want if enhanced properly; see Linus's message that explaind that we already have that support in "manually configurable" form but initializing and maintaining the configuration is currently all manual and can be improved. -
Nov 17, 4:41 am 2006
previous daytodaynext day
November 16, 2006November 17, 2006November 18, 2006