- 07 7月, 2005 9 次提交
-
-
由 Jon Seymour 提交于
This introduces an in-place topological sort procedure to commit.c. Given a list of commits, sort_in_topological_order() will perform an in-place topological sort of that list. The invariant that applies to the resulting list is: a reachable from b => ord(b) < ord(a) This invariant is weaker than the --merge-order invariant, but is cheaper to calculate (assuming the list has been identified) and will serve any purpose where only a minimal topological order guarantee is required. Signed-off-by: NJon Seymour <jon.seymour@gmail.com> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Linus Torvalds 提交于
This allows you to do git diff v2.6.12..v2.6.13-rc1 drivers/pcmcia to see the diff between v2.6.12 and v2.6.13-rc1 as limited by the filename argument.
-
由 Linus Torvalds 提交于
The scripts that use this (notably "git diff") will want to split up flags and file arguments.
-
由 Linus Torvalds 提交于
..and move the DUPCHECK to rev-list.c since both the merge-order and the upcoming topo-sort get confused by dups.
-
由 Linus Torvalds 提交于
Jon wants the commits in a different order for merge-order.
-
由 Linus Torvalds 提交于
Same argument order, same return type. This allows us to use a function pointer to choose one over the other.
-
由 Jon Seymour 提交于
This trivial patch removes the semicolon as the sed seperator in the t/t6000-lib.sh test script and replaces it with white space. This makes BSD sed(1) much happier. Signed-off-by: NMark Allen <mrallen1@yahoo.com> Signed-off-by: NJon Seymour <jon.seymour@gmail.com> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Jon Seymour 提交于
This patch introduces some unit tests for the git-rev-list --bisect functionality. Signed-off-by: NJon Seymour <jon.seymour@gmail.com> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Jon Seymour 提交于
Functions that are useful to other t6xxx testcases are moved into t6000-lib.sh To use these functions in a test case, use a test-case pre-amble like: . ./test-lib.sh . ../t6000-lib.sh # t6xxx specific functions Signed-off-by: NJon Seymour <jon.seymour@gmail.com> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 06 7月, 2005 17 次提交
-
-
由 Sven Verdoolaege 提交于
Remember to close temporary file Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Junio C Hamano 提交于
The function calls opendir() without a matching closedir(). Signed-off-by: NJunio C Hamano <junkio@cox.net> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Linus Torvalds 提交于
-
由 Linus Torvalds 提交于
GIT_DIR=. ends up being what some of the pack senders use, and we sometimes messed up when cleaning up the path, ie a ".//HEAD" was cleaned up into "/HEAD", not "HEAD" like it should be. We should do some other cleanup, and probably also verify that symlinks don't point to outside the git area.
-
由 Linus Torvalds 提交于
Now that git-clone-pack exists, we actually have somebody requesting more than just a single head in a pack. So allow the Jeff's of this world to clone things with tens of heads.
-
由 Linus Torvalds 提交于
This was invaluable for debugging the zero-sized compression issue, and might be useful for scripting too, if people want to see the contents of a pack.
-
由 Linus Torvalds 提交于
zlib actually writes a header for that case, and while ignoring that header will get us the right data, it will also end up messing up our stream position. So we actually want zlib to "uncompress" even an empty object.
-
由 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 1 次提交
-
-
由 Sven Verdoolaege 提交于
-