summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-07-18Merge master.kernel.org:/pub/scm/gitk/gitkLibravatar Linus Torvalds1-81/+434
2005-07-18Make the diff display less gaudy.Libravatar Paul Mackerras1-14/+32
The old style is still available as an option (we still need a preferences window so we can set/clear it though).
2005-07-18Allow short SHA1 IDs in the SHA1 entry field.Libravatar Paul Mackerras1-1/+18
2005-07-17Fix display of mode changes in details pane.Libravatar Paul Mackerras1-33/+13
Also simplified the parsing of the git-diff-tree -p output and got rid of the unused 'seenfile' variable.
2005-07-17First cut at displaying the diffs for a merge.Libravatar Paul Mackerras1-19/+34
We display the files where the child differs from the first parent first in black in the file list window, followed by the second parent in blue, and so on using different colors for each parent (provided you don't have more than 6 parents; if you do we cycle around).
2005-07-16Make searching in files changed faster, and fix some bugs.Libravatar Paul Mackerras1-43/+137
We now kick off a single git-diff-tree -r --stdin and feed it all the commit pairs we want to know about, instead of doing a separate git-diff-tree invocation for each.
2005-07-16Merge three separate "fetch refs" functionsLibravatar Linus Torvalds5-109/+67
It really just boils down to one "get_remote_heads()" function, and a common "struct ref" structure definition.
2005-07-16git-send-pack: add "--all" option to send all refs to the other sideLibravatar Linus Torvalds1-10/+28
This affects only refs that the other side doesn't already have. The ones it has are still filtered by the ref selection.
2005-07-16git-fetch-script: fix http:// breakageLibravatar Linus Torvalds1-1/+1
We were trying to fetch using the merge-head name rather than the merge-head SHA1 that we just got. Now, http:// is broken anyway right now for packing, but this should make it work for nonpacked repositories again.
2005-07-16Fix git-fetch-script breakageLibravatar Linus Torvalds1-0/+2
It had the test for the destination reversed.
2005-07-16Merge git-tools repository under "tools" subdirectoryLibravatar Linus Torvalds5-0/+527
Thanks to Ryan Anderson for setting me up to do this. I'd have used his work, but I wanted to clean up the old git-tools repository before merging it: it had old-style file modes etc that needed a round of git-convert-cache to fix up.
2005-07-16Prepare git-tools for merging into the main git archiveLibravatar Linus Torvalds7-358/+5
Rename into a "tools" subdirectory, and change name of "dotest" to "applymbox". Remove stripspace (which was already copied into git) and cvs2git (which was likewise already copied into git, and then replaced by a much better perl version). All of this was brought on by Ryan Anderson shaming me into it. Thanks. I guess.
2005-07-16git-convert-cache: fix up file modes in trees tooLibravatar Linus Torvalds1-0/+29
git-fsck-cache complains about some of the odder ones, and is quiet about the old (S_IFREG | 664) case, but that's wrong too. Converting the kernel tree is too painful right now, but at least we know how to do it if we ever want to.
2005-07-16[PATCH] Documentation: describe short-hand used in fetch/pull.Libravatar Junio C Hamano5-6/+130
Describe short-hand for remote repository used in fetch/pull. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-16[PATCH] fetch/pull: short-hand notation for remote repositories.Libravatar Junio C Hamano4-32/+104
Since pull and fetch are done often against the same remote repository repeatedly, keeping the URL to pull from along with the name of the head to use in $GIT_DIR/branches/$name makes a lot of sense. Adopt that convention from Cogito, and try to be compatible when possible; storing a partial URL and completing it with a trailing path may not be understood by Cogito. While we are at it, fix pulling a tag. Earlier, we updated only refs/tags/$tag without updating FETCH_HEAD, and called resolve-script using a stale (or absent) FETCH_HEAD. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-16Add "Files" and "Pickaxe" to the find menu.Libravatar Paul Mackerras1-18/+247
"Files" matches the find string against each of the files modified by each commit, and can do exact, case-ignoring or regexp matching. "Pickaxe" uses git-diff-tree -S'string' and can only do exact matching. I called it "pickaxe" rather than "find within patch" since it only finds commits where the string is present in the child but not the parents or vice versa, and "pickaxe" is what the author of that feature calls it.
2005-07-15Be slightly smarter about git-daemon client shutdownLibravatar Linus Torvalds1-20/+38
Shut down connections that haven't even identified themselves as git clients first. That should get rid of people who just connect to the port and wait for something to happen.
2005-07-15[PATCH] Documentation: update recommended workflow when working with others.Libravatar Junio C Hamano1-19/+42
Clarify that the hierarchy implied by the recommended workflow is only informal. Refer readers to nice illustration by Randy Dunlap. Separate out the step to "push" to own public repository in the workflow. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Documentation: adjust cvsimport command line.Libravatar Junio C Hamano1-1/+1
The cvsimport example in the cvs migration document was still using the old syntax for target repository after new and improved cvsimport-script was merged. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15git-daemon: actually remember the children we have outstandingLibravatar Linus Torvalds1-21/+121
This is using a lockless approach that allows us to handle children dying without having to block SIGCHLD. Right now our "solution" to too many kids is pretty damn rough, but it at least shows what you can do.
2005-07-15git-daemon: keep track of childrenLibravatar Linus Torvalds1-1/+43
We don't want them as zombies, and eventually we'll want to limit their number. Right now we just count them.
2005-07-15Ahh, the heady days of 0.99 patchfilesLibravatar Linus Torvalds1-2/+2
Now, not all projects can be as refined as Linux. Before the final 1.0 release, we went through fifteen 0.99 patchfiles, and pl14 alone went through subreleases 'a' through 'z'. Now _that_ is a release process. Not to mention the odd-ball releases, like 0.96c+ Sadly, in this day and age of RPM's etc, we have silly limitations, and I cannot call this release '0.99pl5a or some such awe-inspiring name just because "rpmbuild" is such a party pooper. So it's just 0.99.1. Oh well. Aspiring to such greatness as the Linux release numbering is hubris anyway. You can attain such perfection only once in your life.
2005-07-15Fix up "make doc"Libravatar Linus Torvalds2-2/+2
Fix 'git-var.txt' and use "-b xhtml11" instead of "-b css-embedded" to make asciidoc 7.0.1 happy.
2005-07-15[PATCH] Documentation: pull, push, packing repository and working with others.Libravatar Junio C Hamano1-74/+283
Describe where you can pull from with a bit more detail. Clarify description of pushing. Add a section on packing repositories. Add a section on recommended workflow for the project lead, subsystem maintainers and individual developers. Move "Tag" section around to make the flow of example simpler to follow. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Documentation: update tutorial to talk about push.Libravatar Junio C Hamano1-7/+80
Talk about publishing to a public repository. Also fixes a couple of typos. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Initial support for building a debian package (.deb)Libravatar Eric W. Biederman6-0/+121
It's not any harder to include debian package support than to include a spec file so here is the setup to build the equivalent debian package. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Update the spec file so it can build and install the documentationLibravatar Eric W. Biederman1-4/+10
If you don't want the documentation simply build with make RPMBUILD="rpmbuild --without docs" Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Add doc and install-doc targets to the MakefileLibravatar Eric W. Biederman2-0/+19
This makes it straightforward for people wanting to build and install the git man pages and the rest of the documentation to do so. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Use gzip -f when building the git-core tarballLibravatar Eric W. Biederman1-1/+1
This allows rebuilding the tarball when it is already present without having to answer annoying questions from gzip Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Add a RPMBUILD make variableLibravatar Eric W. Biederman1-1/+2
This allows RPMBUILD to be overridden for people with old versions of rpm or people who want to pass rpmbuild extra options. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Update tags to record who made themLibravatar Eric W. Biederman2-3/+10
And finally what all of this has been leading up to. The 2 line code change to record who made a tag, and the 8 line code change to check that we recorded the tag. Gosh the error checking is always so much bigger than the code :) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Update git-tag-script to create the .git/refs/tags if it does not ↵Libravatar Eric W. Biederman1-0/+1
already exist When testing tags I ran into an interesting problem. git-tag-script dies if .git/refs/tags/ does not exist. And that directory didn't get created when I build my repository, so we need to create it if it doesn't exist. Signed-of-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Update the list of diagnostics for git-commit-treeLibravatar Eric W. Biederman1-0/+4
With the recent work on setup_ident() there are a few more possible diagnostic messages form git-commit-tree Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Add git-var a tool for reading interesting git variables.Libravatar Eric W. Biederman4-1/+130
Sharing code between shell scripts and C is a challenge. The program git-var allows us to have a set of named values that a shell script can interrogate and a normal C program can simply call the functions that compute them. Allowing sharing when computing plain test values. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] ident.c: Disambiguate the error messages in setup_identLibravatar Eric W. Biederman1-2/+2
If your user name is too long it is your sysadmin who hates you not your parents! Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> [ Fixed grammar ] Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15[PATCH] Move git_author_info and git_commiter_info to ident.cLibravatar Eric W. Biederman3-10/+12
Moving these functions allows all of the logic for figuring out what these values are to be shared between programs. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-15Add "--inetd" flag to git-daemonLibravatar Linus Torvalds1-1/+11
All credit go to Alexey Nezhdanov <snake@penza-gsm.ru>, I just ended up re-implementing his idea.
2005-07-15git-daemon: re-organize code a bit for --inetd flagLibravatar Linus Torvalds1-10/+10
Alexey Nezhdanov sent a patch that made git-daemon usable from inetd (ie where inetd has already done the accept on the new connection, the fork, and the setup of stdin/stdout). I wanted to organize the thing slightly differently, though.
2005-07-14Split up "diff_format" into "format" and "line_termination".Libravatar Linus Torvalds7-39/+25
This removes the separate "formats" for name and name-with-zero- termination. It also removes the difference between HUMAN and MACHINE formats, and they both become DIFF_FORMAT_RAW, with the difference being just in the line and inter-filename termination. It also makes the code easier to understand.
2005-07-14Make "ce_match_path()" a generic helper functionLibravatar Linus Torvalds4-23/+33
... and make git-diff-files use it too. This all _should_ make the diffcore-pathspec.c phase unnecessary, since the diff'ers now all do the path matching early interally.
2005-07-14Make git-diff-cache skip any comparisons which don't match pathspecLibravatar Linus Torvalds1-2/+28
This brings all the same pathspec optimizations that git-diff-tree does to git-diff-cache.
2005-07-14Start using the partial tree reading in "git-diff-cache"Libravatar Linus Torvalds1-2/+2
The reason I say "start using" is that we really should also limit the index checking by name - now we limit the tree object accesses by name, but we still check the whole index. Still, this should help.
2005-07-14Fix up read_tree() pathspec matching to use "const char **"Libravatar Linus Torvalds2-5/+7
The same way the other pathspecs work. Also fix missing success return from the matching - not that anything actually uses this yet ;)
2005-07-14Start adding interfaces to read in partial treesLibravatar Linus Torvalds4-7/+54
The same way "git-diff-tree" can limit its output to just a set of matches, we can read in just a partial tree for comparison purposes.
2005-07-14Fix replacing of a directory with a file/symlink in git-checkout-cacheLibravatar Linus Torvalds1-12/+8
The symlink case had never worked, and the file case was broken by the O_EXCL change because the error return changed from EISDIR to EEXIST. Fix both problems by just moving the test for an existing directory to a more logical place.
2005-07-14Make "git diff" use git-sh-setup-script too..Libravatar Linus Torvalds1-0/+2
Give a sane error rather than just silently claiming no diffs when you're not at the top-level directory.
2005-07-14Make "git prune" use the "--full" flag to git-fsck-cacheLibravatar Linus Torvalds1-1/+1
It's too dangerous not to. We need to follow alternate object directories etc, or we might say something is unreachable just because we didn't look it up completely.
2005-07-14[PATCH] Documentation: push-pull commands into a separate category.Libravatar Junio C Hamano1-23/+42
This splits push-pull related commands into a separate category. I think a bigger overhaul of the main index is needed, but have not got around to it. Help is welcome. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-14[PATCH] Documentation: send/receive.Libravatar Junio C Hamano3-1/+89
This adds documentation for 'smarter push' family of commands. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-14[PATCH] Documentation: clone/fetch/upload.Libravatar Junio C Hamano4-7/+130
This adds documentation for 'smarter pull' family of commands. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>