summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add "git-clone-pack" program to help with "git clone"Linus Torvalds2005-07-052-1/+209
|
* Fix silly thinko in "head_ref()"Linus Torvalds2005-07-051-2/+2
| | | | | It did a "for_each_ref()" in addition to the HEAD case, which was a left-over from an early broken test.
* Move "get_ack()" to common git_connect functionsLinus Torvalds2005-07-053-18/+20
| | | | git-clone-pack will want it too. Soon.
* Remove multi-head support from fetch-packLinus Torvalds2005-07-051-38/+3
| | | | | It was a misguided attempt to mix fetching and cloning. I'll make a separate clone thing.
* Remove unnecessary usage of strncmp() in git-rev-list arg parsing.Linus Torvalds2005-07-051-2/+2
| | | | | | | | Not only is it unnecessary, it incorrectly allows extraneous characters at the end of the argument. Junio noticed the --merge-order thing, and Jon points out that if we fix that one, we should fix --show-breaks too.
* Merge head 'cvs2git' of http://netz.smurf.noris.de/git/gitLinus Torvalds2005-07-055-367/+831
|\
| * Merge with Linus' current treeMatthias Urlichs2005-07-055-367/+831
| |\
| | * Merge with http://www.liacs.nl/~sverdool/git.git#cvs2gitMatthias Urlichs2005-07-051-54/+95
| | |\
| | | * git-cvsimport-script: move working directory forwardSven Verdoolaege2005-07-051-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If HEAD happened to point to a cvs branch, move the working directory forward to the tip of the branch. Additionally, if master and "origin" are equal, move master forward to new origin first.
| | | * git-cvsimport-script: remove unused variableSven Verdoolaege2005-07-041-2/+0
| | | |
| | | * git-cvsimport-script: more error handlingSven Verdoolaege2005-07-041-2/+3
| | | |
| | | * git-cvsimport-script: provide direct support for cvsps -z optionSven Verdoolaege2005-07-041-4/+5
| | | |
| | | * git-cvsimport-script: update cvsps cache instead of rebuilding itSven Verdoolaege2005-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Updating the cache is sufficient for most purposes. If users really want to rebuild the cache, they can specify the option themselves.
| | | * git-cvsimport-script: fix branch switchingSven Verdoolaege2005-07-041-1/+2
| | | | | | | | | | | | | | | | Previous patch broke branch switching.
| | | * git-cvsimport-script: use private index.Sven Verdoolaege2005-07-041-20/+23
| | | |
| | | * git-cvsimport-script: leave working directory alone.Sven Verdoolaege2005-07-041-33/+48
| | | |
| | | * git-cvsimport-script: typo head -> headsSven Verdoolaege2005-07-031-1/+1
| | | |
| | * | cvsimport: getopt accepted a -q option (undocumented and unused).Matthias Urlichs2005-07-051-1/+1
| | |/ | | | | | | | | | Removed.
| | * cvsimport: Missing tests for verbosity flag.Matthias Urlichs2005-07-031-2/+2
| | |
| | * Support :ext: access method.Sven Verdoolaege2005-07-032-3/+23
| | |
| | * Honour CVS_SERVER.Sven Verdoolaege2005-07-031-1/+3
| | |
| | * git-cvsimport-script: clean up documentationSven Verdoolaege2005-07-031-8/+0
| | | | | | | | | | | | | | | | | | Remove documentation of irrelevant "type" option. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
| | * Make specification of CVS module to convert optional.Sven Verdoolaege2005-07-032-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we're inside a checked out CVS repository, there is no need to explicitly specify the module as it is available in CVS/Repository. Also read CVS/Root if it's available and -d is not specified. Finally, explicitly pass root to cvsps as CVS/Root takes precedence over CVSROOT. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
| | * Fixed a typo in Documentation/git-cvsimport-script.txt.Sven Verdoolaege2005-07-031-1/+1
| | |
| | * cvsimport: add documentation.Matthias Urlichs2005-06-301-0/+82
| | |
| | * cvsimport: Added option '-p': pass options to cvspsMatthias Urlichs2005-06-301-3/+6
| | | | | | | | | | | | Added option '-x' to cvsps call
| | * cvsimport: Exit if an existing repository doesn't have the right branch.Matthias Urlichs2005-06-301-0/+5
| | |
| | * cvs import: Strip whitespace at the end of the log entryMatthias Urlichs2005-06-301-1/+6
| | | | | | | | | | | | for compatibility with old cvs2git.
| | * cvsimport: perform string comparison on "HEAD"Sven Verdoolaege2005-06-301-1/+1
| | |
| | * git-cvsimport-script: Removed redundant @old and @new clear.Matthias Urlichs2005-06-301-3/+0
| | |
| | * git-cvsimport-script: Remove setting Sticky; it may cause problemsMatthias Urlichs2005-06-301-1/+1
| | |
| | * cvs import: Call git-update-cache multiple timesMatthias Urlichs2005-06-301-4/+22
| | | | | | | | | | | | instead of with a too-long argument list.
| | * More docMatthias Urlichs2005-06-281-15/+19
| | |
| | * Document the new migration toolMatthias Urlichs2005-06-281-4/+20
| | |
| | * Rollbak to the original branch after importingMatthias Urlichs2005-06-281-4/+25
| | |
| | * Local cvsimport fixupsMatthias Urlichs2005-06-281-2/+8
| | |
| | * Fix remote CVS import.Matthias Urlichs2005-06-281-30/+48
| | |
| | * Added Perl git-cvsimport-scriptMatthias Urlichs2005-06-283-360/+576
| | |
* | | Work around git-http-pull breakage in git-fetch-scriptLinus Torvalds2005-07-051-1/+2
| | | | | | | | | | | | | | | Need to add a final slash. And make it verbose by default, since it's so slow that otherwise people will think it's died.
* | | git-fetch-script: use git-fetch-pack for local and ssh fetches.Linus Torvalds2005-07-051-33/+18
| | | | | | | | | | | | Also, clean it up a lot.
* | | Add "git_path()" and "head_ref()" helper functions.Linus Torvalds2005-07-057-14/+37
|/ / | | | | | | | | | | | | "git_path()" returns a static pathname pointer into the git directory using a printf-like format specifier. "head_ref()" works like "for_each_ref()", except for just the HEAD.
* | git-rev-list: make sure the output is sorted by recencyLinus Torvalds2005-07-041-1/+1
| | | | | | | | | | We didn't sort the refs by date, so if you had multiple refs, the end result would not be properly sorted.
* | Make rev-list flush the stdio buffers after each rev.Linus Torvalds2005-07-041-1/+2
| | | | | | | | | | We'd rather get the revisions in a slow but timely manner than have to wait for them.
* | Make git-fetch-pack actually do all the unpacking etc.Linus Torvalds2005-07-042-25/+100
| | | | | | | | | | | | | | | | | | | | It returns the result SHA1 on stdout, so you can do remote=$(git-fetch-pack host:dir branchname) and it will unpack the objects and "remote" will be the SHA1 name of the branch on the other side. You can then save that off, or merge it, or whatever.
* | Make git-fetch-pack and git-upload-pack negotiate needs/haves fullyLinus Torvalds2005-07-042-10/+116
| | | | | | | | Now the only piece missing is actually generating the pack-file.
* | Clean up output of "for_each_ref()" when GIT_DIR is "."Linus Torvalds2005-07-041-0/+5
| | | | | | | | Remove the "./" at the head, it just looks much nicer.
* | Commit first cut at "git-fetch-pack"Linus Torvalds2005-07-043-4/+216
| | | | | | | | | | | | | | It's meant to be used by "git fetch" for the local and ssh case. It doesn't actually do the fetching now, but it does discover the common commit point.
* | Move ref path matching to connect.c libraryLinus Torvalds2005-07-043-21/+22
| | | | | | | | It's a generic thing for matching refs from the other side.
* | Factor out the ssh connection stuff from send-pack.cLinus Torvalds2005-07-044-74/+92
| | | | | | | | I want to use it for git-fetch-pack too.
* | [PATCH] Fixup t/t5300 unit tests broken by ↵Jon Seymour2005-07-041-15/+15
| | | | | | | | | | | | | | | | | | | | | | 5f3de58ff85c49620ae2a1722d8d4d37c881a054 This patch fixes up the t/t5300 unit tests which were broken by the changes in: Make the name of a pack-file depend on the objects packed there-in. Signed-off-by: Jon Seymour <jon.seymour@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>