- 06 7月, 2005 10 次提交
-
-
由 Linus Torvalds 提交于
-
由 Linus Torvalds 提交于
-
由 Linus Torvalds 提交于
It did a "for_each_ref()" in addition to the HEAD case, which was a left-over from an early broken test.
-
由 Linus Torvalds 提交于
git-clone-pack will want it too. Soon.
-
由 Linus Torvalds 提交于
It was a misguided attempt to mix fetching and cloning. I'll make a separate clone thing.
-
由 Linus Torvalds 提交于
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.
-
-
由 Linus Torvalds 提交于
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.
-
由 Linus Torvalds 提交于
Also, clean it up a lot.
-
由 Linus Torvalds 提交于
"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.
-
- 05 7月, 2005 13 次提交
-
-
由 Matthias Urlichs 提交于
-
-
由 Matthias Urlichs 提交于
Removed.
-
由 Sven Verdoolaege 提交于
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.
-
由 Linus Torvalds 提交于
We didn't sort the refs by date, so if you had multiple refs, the end result would not be properly sorted.
-
由 Linus Torvalds 提交于
We'd rather get the revisions in a slow but timely manner than have to wait for them.
-
由 Linus Torvalds 提交于
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.
-
由 Linus Torvalds 提交于
Now the only piece missing is actually generating the pack-file.
-
由 Linus Torvalds 提交于
Remove the "./" at the head, it just looks much nicer.
-
由 Sven Verdoolaege 提交于
-
由 Linus Torvalds 提交于
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.
-
由 Linus Torvalds 提交于
It's a generic thing for matching refs from the other side.
-
由 Linus Torvalds 提交于
I want to use it for git-fetch-pack too.
-
- 04 7月, 2005 17 次提交
-
-
由 Sven Verdoolaege 提交于
-
由 Jon Seymour 提交于
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: NJon Seymour <jon.seymour@gmail.com> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Sven Verdoolaege 提交于
-
由 Sven Verdoolaege 提交于
Updating the cache is sufficient for most purposes. If users really want to rebuild the cache, they can specify the option themselves.
-
由 Sven Verdoolaege 提交于
Previous patch broke branch switching.
-
由 Sven Verdoolaege 提交于
-
由 Linus Torvalds 提交于
This is actually subtly wrong. If a short match is found in the object directory, but would _also_ match another SHA1 ID in a pack (or it shows in one pack but not another), we'll never have done the pack lookup, and we think it's unique. I can't find it in myself to care. You really want to use enough of a SHA1 that there is never any ambiguity.
-
由 Linus Torvalds 提交于
Currently only for unpacked objects, but the infrastructure is there to do it for packed objects too.
-
由 Sven Verdoolaege 提交于
-
由 Linus Torvalds 提交于
This means that the .git/objects/pack directory is also rsync'able, since the filenames created there-in are either unique or refer to the same data. Otherwise you might not be able to pull from a directory that is partly packed without having to worry about missing objects due to pack-file name clashes.
-
由 Sven Verdoolaege 提交于
-
由 Linus Torvalds 提交于
This, together with "git repack" can be used to clean up unpacked git archives.
-
由 Linus Torvalds 提交于
-
由 Linus Torvalds 提交于
It skips writing the pack-file if it ends up being empty.
-
由 Linus Torvalds 提交于
More infrastructure to do efficient incremental packs.
-
由 Linus Torvalds 提交于
It won't add an object that is already in a pack to the new pack.
-
由 Linus Torvalds 提交于
And make git-rev-list just silently ignore non-commit refs if we're not asking for all objects.
-