1. 28 7月, 2005 5 次提交
  2. 27 7月, 2005 3 次提交
  3. 26 7月, 2005 7 次提交
  4. 24 7月, 2005 18 次提交
    • L
      Fix up applymbox script for the addition of "git-" prefix · 154d3d2d
      Linus Torvalds 提交于
      Ehh, it works much better that way ;)
      154d3d2d
    • J
      [PATCH] diffcore-pickaxe: switch to "counting" behaviour. · 2002eed6
      Junio C Hamano 提交于
      Instead of finding old/new pair that one side has and the
      other side does not have the specified string, find old/new pair
      that contains the specified string as a substring different
      number of times.  This would still not catch a case where you
      introduce two static variable declarations and remove two static
      function definitions from a file with -S"static", but would make
      it behave a bit more intuitively.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2002eed6
    • L
      Add a "git rename" to help with - surprise surprise - renames · 399144f2
      Linus Torvalds 提交于
      It's stupid.  We'd want to rename directories too, but this doesn't do
      that yet - easy enough to do per se, we just need to carefully list all
      the pathnames that got moved (and remember to ignore the files that
      weren't tracked but are in the subdirectory that got moved).
      
      Doing the directory case will require a bit more scripting.. Something like
      
      	oldfiles=($(git-ls-files | grep '^$src'))
      	newfiles=($(git-ls-files | sed ':^$src: s:^$src:$dst:'))
      	mv $src $dst && git-update-cache --add --remove -- "${oldfiles[@]}" "${newfiles[@]}"
      
      might do it, except it needs to be done right, and carefully.  Methinks
      perl is probably better at this. Hint hint..
      399144f2
    • L
      Rename the "tools" programs to also have the "git-" prefix · fd1fcd9f
      Linus Torvalds 提交于
      Hey, people are using them, and we have an install target for them, so
      make sure that we can actually install them sanely without disturbing
      the namespace.
      fd1fcd9f
    • J
      [PATCH] Support cloning packed repo from dumb http servers. · c0a58fbb
      Junio C Hamano 提交于
      Using the information prepared with update-server-info, a truly
      dumb http server can allow cloning with this client side
      support.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c0a58fbb
    • J
      [PATCH] Document update-server-info. · 61e3ef36
      Junio C Hamano 提交于
      This adds a minimum documentation to the new command.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      61e3ef36
    • J
      [PATCH] Add update-server-info. · 8f3f9b09
      Junio C Hamano 提交于
      The git-update-server-info command prepares informational files
      to help clients discover the contents of a repository, and pull
      from it via a dumb transport protocols.  Currently, the
      following files are produced.
      
       - The $repo/info/refs file lists the name of heads and tags
         available in the $repo/refs/ directory, along with their
         SHA1.  This can be used by git-ls-remote command running on
         the client side.
      
       - The $repo/info/rev-cache file describes the commit ancestry
         reachable from references in the $repo/refs/ directory.  This
         file is in an append-only binary format to make the server
         side friendly to rsync mirroring scheme, and can be read by
         git-show-rev-cache command.
      
       - The $repo/objects/info/pack file lists the name of the packs
         available, the interdependencies among them, and the head
         commits and tags contained in them.  Along with the other two
         files, this is designed to help clients to make smart pull
         decisions.
      
      The git-receive-pack command is changed to invoke it at the end,
      so just after a push to a public repository finishes via "git
      push", the server info is automatically updated.
      
      In addition, building of the rev-cache file can be done by a
      standalone git-build-rev-cache command separately.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      8f3f9b09
    • J
      [PATCH] git-ls-remote: show and optionally store remote refs. · 0fec0822
      Junio C Hamano 提交于
      Retrieve and list the remote refs from git, http, and rsync
      repositories, and optionally stores the retrieved refs in the
      local repository under the same name.
      
      To access a git URL, git-peek-remote command is used.  An http
      URL needs to have an up-to-date info/refs file for discovery,
      which will be introduced by a later update-server-info patch.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0fec0822
    • J
      [PATCH] Documentation: git-peek-remote. · 508e67ab
      Junio C Hamano 提交于
      Add documentation for the git-peek-remote and link it from the
      main index.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      508e67ab
    • J
      [PATCH] git-peek-remote: show tags and heads from a remote repository. · 18705953
      Junio C Hamano 提交于
      Add a git-peek-remote command that talks with upload-pack the
      same way git-fetch-pack and git-clone-pack do, to show the
      references the remote side has on the standard output.
      
      A later patch introduces git-ls-remote that implements a UI to
      store tag values retrieved using this command.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      18705953
    • L
      Update tutorial.txt branches/tags to use the nicer helper syntax · a7333f9e
      Linus Torvalds 提交于
      Teach people to use "git tag <tag-name>" instead of writing the current
      HEAD by hand into the .git/refs/tags/<tag-name> file.  Most people
      probably don't really want to know about how git does things internally.
      a7333f9e
    • L
      Make "git tag" create both simple and signed tags · d727782e
      Linus Torvalds 提交于
      A simple tag is just a direct pointer to the object, while a signed tag
      is a pointer to a "tag object" that has a pgp signature and points to
      the object we tagged.
      
      Use "git tag -s tagname" to create a signed tag.
      
      The "-f" flag overwrites any previous tag of that name (useful if you
      update a tag to point to a newer version for things like "latest" etc
      tags that aren't necessarily static versions).
      d727782e
    • J
      [PATCH] mailinfo: handle folded header. · 1d8fa411
      Junio C Hamano 提交于
      Some people split their long E-mail address over two lines
      using the RFC2822 header "folding".  We can lose authorship
      information this way, so make a minimum effort to deal with it,
      instead of special casing only the "Subject:" field.
      
      We could teach mailsplit to unfold the folded header, but
      teaching mailinfo about folding would make more sense; a single
      message can be fed to mailinfo without going through mailsplit.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1d8fa411
    • L
      Fix git protocol connection 'port' override · ce6f8e7e
      Linus Torvalds 提交于
      It was broken by the IPv6 patches - we need to remove the ":" part from
      the hostname for a successful name lookup.
      ce6f8e7e
    • Y
      [PATCH] GIT: Try all addresses for given remote name · 5ba88448
      YOSHIFUJI Hideaki 提交于
      Try all addresses for given remote name until it succeeds.  Also
      supports IPv6.
      Signed-off-by: NHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5ba88448
    • R
      [PATCH] Deb packaging needs two more configuration files · 34862b2e
      Ryan Anderson 提交于
      The deb package building needs these two new files to work correctly.
      
      debian/compat sets the rules under which the debhelper scripts (dh_*)
      operate.
      
      debian/git-core.install tells dh_install what files to install in each
      package that is generated.  There is only one package being generated,
      so all files go into it.
      
      (I missed these in the last patch, mostly because I needed to do this to
      find stuff I had missed:
      	find . -name .git -type d -prune -o -type f -print \
      		| grep -v -e .tree1 -e .tree2 \
      		| sed -e "s/^\.\///" \
      		| sort >.tree1
      	git-ls-files | grep -v -e .tree1 -e .tree2 \
      		| sort >.tree2
      	diff -u .tree1 .tree2
      )
      Signed-off-by: NRyan Anderson <ryan@michonline.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      34862b2e
    • R
      [PATCH] Deb packages should include the binaries · 71fb3de0
      Ryan Anderson 提交于
      The Deb packages were missing a dependency on "build install" from the
      binary target - this fixes that, and cleans up some inconsistencies
      elsewhere in the rulesets.
      
      Traditionally, Debian packaging uses a file called "build-stamp" (or
      "install-stamp", etc) in the main source tree.  The initial deb package
      support for Git tried to move this "build-stamp" file into the debian/
      directory, but some instances were missed.  That problem, however, was
      incidental - the real fix is the missing dependency mentioned above.
      Signed-off-by: NRyan Anderson <ryan@michonline.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      71fb3de0
    • L
      Be more aggressive about marking trees uninteresting · 4311d328
      Linus Torvalds 提交于
      We'll mark all the trees at the edges (as deep as we had to go to
      realize that we have all the commits needed) as uninteresting.
      Otherwise we'll occasionally list a lot of objects that were actually
      available at the edge in a commit that we just never ended up parsing
      because we could determine early that we had all relevant commits.
      
      NOTE! The object listing is still just a _heuristic_.  It's guaranteed
      to list a superset of the actual new objects, but there might be the
      occasional old object in the list, just because the commit that
      referenced it was much further back in the history.
      
      For example, let's say that a recent commit is a revert of part of the
      tree to much older state: since we didn't walk _that_ far back in the
      commit history tree to list the commits necessary, git-rev-tree will
      never have marked the old objects uninteresting, and we'll end up
      listing them as "new".
      
      That's ok.
      4311d328
  5. 23 7月, 2005 7 次提交