1. 29 5月, 2006 1 次提交
  2. 27 5月, 2006 2 次提交
  3. 26 5月, 2006 5 次提交
    • M
      Add instructions to commit template. · 88a15314
      Martin Waitz 提交于
      New users can be irritated by the git status text in their editor.
      Let's give them a short help.
      Signed-off-by: NMartin Waitz <tali@admingilde.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      88a15314
    • J
      git-format-patch --start-number <n> · fa0f02df
      Johannes Schindelin 提交于
      Since the "a..b c..d" syntax is interpreted as "b ^a d ^c" as other
      range-ish commands, if you want to format a..b and then c..d and end
      up with files consecutively numbered, the second run needs to be able
      to tell the command what number to start from.
      
      This does not imply --numbered (which gives [PATCH n/m] to the subject).
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      fa0f02df
    • J
      Don't write directly to a make target ($@). · fc36f6a6
      Jim Meyering 提交于
      Otherwise, if make is suspended, or killed with prejudice, or if the
      system crashes, you could be left with an up-to-date, yet corrupt,
      generated file.
      
      I left off the `clean' addition, because I believe "make clean" should
      not remove wildcard patterns like "*+", on the off-chance that someone
      uses names like that for files they care about.  Besides, in practice,
      those temporary files are left behind so rarely that they're not a bother,
      and they're removed again as part of the next build.
      
      [jc: sign-off?]
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      fc36f6a6
    • L
      bogus "fatal: Not a git repository" · 4d599e6b
      Linus Torvalds 提交于
      I was just testing that "git ls-remote" change by Junio, and when you're
      not in a git repository, it gives this totally bogus warning. The _target_
      obviously has to be a git repository, but there's no reason why you'd have
      to be in a local git repo when doing an ls-remote.
      
      The reason is commit 73136b2e by Dscho: it
      adds calls to git-repo-config in git-parse-remote.sh to get the remote
      shorthands etc.
      
      Now, either we should just hide and ignore the error from git-repo-config
      (probably bad, because some errors _are_ valid - like git-repo-config
      failing due to bad syntax in the config file), or we should just make
      git-repo-config quietly handle the case of not being in a git repository.
      
      This does the latter: just quietly accepting (and doing nothing - trying
      to set a value will result in the lock-file failing) our lot in life
      sounds better than dying with a bogus error message.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Acked-By: NJohannes Schindelin <Johannes.Schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4d599e6b
    • M
      Documentation/Makefile: remove extra / · c5360324
      Martin Waitz 提交于
      As both DESTDIR and the prefix are supposed to be absolute pathnames
      they can simply be concatenated without an extra / (like in the main Makefile).
      The extra slash may even break installation on Windows.
      
      [jc: adjusted an earlier workaround for this problem in the dist-doc
       target in the main Makefile as well. ]
      Signed-off-by: NMartin Waitz <tali@admingilde.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c5360324
  4. 25 5月, 2006 13 次提交
    • J
      cvsimport: avoid "use" with :tag · e49289df
      Jeff King 提交于
      Avoid "use POSIX qw(strftime dup2 :errno_h)"; it was reported
      that a Perl installations on Mandrake 9.1 did not like it, even
      though it understood "use POSIX qw(:errno_h)".  Funny.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e49289df
    • J
      cat-file: document -p option · ed90cbf5
      Jeff King 提交于
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ed90cbf5
    • S
      Built git-upload-tar should be ignored. · 4acdeafe
      Shawn Pearce 提交于
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4acdeafe
    • J
      ls-remote: fix rsync:// to report HEAD · e686eba4
      Junio C Hamano 提交于
      This prevented recent git-clone from checking out the working
      tree files in the cloned repository.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e686eba4
    • J
      fetch.c: remove an unused variable and dead code. · 84c667ff
      Junio C Hamano 提交于
      Funnily enough, this variable was never assigned ever since it
      was introduced, and has been protecting some code that has never
      been executed.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      84c667ff
    • L
      Clean up sha1 file writing · 4d548150
      Linus Torvalds 提交于
      This cleans up and future-proofs the sha1 file writing in sha1_file.c.
      
      In particular, instead of doing a simple "write()" call and just verifying
      that it succeeds (or - as in one place - just assuming it does), it uses
      "write_buffer()" to write data to the file descriptor while correctly
      checking for partial writes, EINTR etc.
      
      It also splits up write_sha1_to_fd() to be a lot more readable: if we need
      to re-create the compressed object, we do so in a separate helper
      function, making the logic a whole lot more modular and obvious.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4d548150
    • T
      Builtin git-cat-file · f81daefe
      Timo Hirvonen 提交于
      Signed-off-by: NTimo Hirvonen <tihirvon@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      f81daefe
    • J
      Merge branch 'jc/fmt-patch' · d48f7168
      Junio C Hamano 提交于
      * jc/fmt-patch:
        builtin format-patch: squelch content-type for 7-bit ASCII
        CMIT_FMT_EMAIL: Q-encode Subject: and display-name part of From: fields.
      d48f7168
    • J
      Merge branch 'be/tag' · a861b58b
      Junio C Hamano 提交于
      * be/tag:
        add more informative error messages to git-mktag
        remove the artificial restriction tagsize < 8kb
      a861b58b
    • J
      Merge branch 'js/fmt-patch' · 73f0a157
      Junio C Hamano 提交于
      This makes "git format-patch" a built-in.
      
      * js/fmt-patch:
        git-rebase: use canonical A..B syntax to format-patch
        git-format-patch: now built-in.
        fmt-patch: Support --attach
        fmt-patch: understand old <his> notation
        Teach fmt-patch about --keep-subject
        Teach fmt-patch about --numbered
        fmt-patch: implement -o <dir>
        fmt-patch: output file names to stdout
        Teach fmt-patch to write individual files.
        Use RFC2822 dates from "git fmt-patch".
        git-fmt-patch: thinkofix to show [PATCH] properly.
        rename internal format-patch wip
        Minor tweak on subject line in --pretty=email
        Tentative built-in format-patch.
      73f0a157
    • J
      Merge branch 'jc/builtin-n-tar-tree' · f2054be4
      Junio C Hamano 提交于
      This pulls in "make many commands built-in" branches.
      
      * jc/builtin-n-tar-tree:
        built-in tar-tree and remote tar-tree
        Builtin git-diff-files, git-diff-index, git-diff-stages, and git-diff-tree.
        Builtin git-show-branch.
        Builtin git-apply.
        Builtin git-commit-tree.
        Builtin git-read-tree.
        Builtin git-tar-tree.
        Builtin git-ls-tree.
        Builtin git-ls-files.
      f2054be4
    • J
      Merge branch 'jc/fetch-sorted' · 24642944
      Junio C Hamano 提交于
      * jc/fetch-sorted:
        fetch-pack: output refs in the order they were given on the command line.
      24642944
    • J
      Merge branch 'lt/dirwalk' · 376bb3a3
      Junio C Hamano 提交于
      This makes 'git add' and 'git rm' built-ins.
      
      * lt/dirwalk:
        Add builtin "git rm" command
        Move pathspec matching from builtin-add.c into dir.c
        Prevent bogus paths from being added to the index.
        builtin-add: fix unmatched pathspec warnings.
        Remove old "git-add.sh" remnants
        builtin-add: warn on unmatched pathspecs
        Do "git add" as a builtin
        Clean up git-ls-file directory walking library interface
        libify git-ls-files directory traversal
      376bb3a3
  5. 24 5月, 2006 16 次提交
  6. 23 5月, 2006 3 次提交