Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.6.5.9
Commits on Dec 15, 2010
  1. Git 1.6.5.9

    authored
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. Git 1.6.4.5

    authored
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  3. @jnareb

    gitweb: Introduce esc_attr to escape attributes of HTML elements

    jnareb authored committed
    It is needed only to escape attributes of handcrafted HTML elements,
    and not those generated using CGI.pm subroutines / methods for HTML
    generation.
    
    While at it, add esc_url and esc_html where needed, and prefer to use
    CGI.pm HTML generating methods than handcrafted HTML code.  Most of
    those are probably unnecessary (could be exploited only by person with
    write access to gitweb config, or at least access to the repository).
    
    This fixes CVE-2010-3906
    
    Reported-by: Emanuele Gentili <e.gentili@tigersecurity.it>
    Helped-by: John 'Warthog9' Hawley <warthog9@kernel.org>
    Helped-by: Jonathan Nieder <jrnieder@gmail.com>
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 26, 2010
  1. @bebarino

    request-pull.txt: Document -p option

    bebarino authored committed
    Signed-off-by: Stephen Boyd <bebarino@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. Merge branch 'maint-1.6.4' into maint-1.6.5

    authored
    * maint-1.6.4:
      Check size of path buffer before writing into it
      rev-parse: fix --parse-opt --keep-dashdash --stop-at-non-option
Commits on Jul 25, 2010
  1. Check size of path buffer before writing into it

    Greg Brockman authored committed
    This prevents a buffer overrun that could otherwise be triggered by
    creating a file called '.git' with contents
    
      gitdir: (something really long)
    
    Signed-off-by: Greg Brockman <gdb@mit.edu>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 7, 2010
  1. rev-parse: fix --parse-opt --keep-dashdash --stop-at-non-option

    Uwe Kleine-König authored committed
    The ?: operator has a lower priority than |, so the implicit associativity
    made the 6th argument of parse_options be PARSE_OPT_KEEP_DASHDASH if
    keep_dashdash was true discarding PARSE_OPT_STOP_AT_NON_OPTION and
    PARSE_OPT_SHELL_EVAL.
    
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Mar 5, 2010
  1. @wentasah

    Remove extra '-' from git-am(1)

    wentasah authored committed
    Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 16, 2010
  1. @peff

    dwim_ref: fix dangling symref warning

    peff authored committed
    If we encounter a symref that is dangling, in most cases we will warn
    about it. The one exception is a dangling HEAD, as that indicates a
    branch yet to be born.
    
    However, the check in dwim_ref was not quite right. If we were fed
    something like "HEAD^0" we would try to resolve "HEAD", see that it is
    dangling, and then check whether the _original_ string we got was
    "HEAD" (which it wasn't in this case). And that makes no sense; the
    dangling thing we found was not "HEAD^0" but rather "HEAD".
    
    Fixing this squelches a scary warning from "submodule summary HEAD" (and
    consequently "git status" with status.submodulesummary set) in an empty
    repo, as the submodule script calls "git rev-parse -q --verify HEAD^0".
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. @trast

    stash pop: remove 'apply' options during 'drop' invocation

    trast authored committed
    The 'git stash pop' option parsing used to remove the first argument
    in --index mode.  At the time this was implemented, this first
    argument was always --index.  However, since the invention of the -q
    option in fcdd0e9 (stash: teach quiet option, 2009-06-17) you can
    cause an internal invocation of
    
      git stash drop --index
    
    by running
    
      git stash pop -q --index
    
    which then of course fails because drop doesn't know --index.
    
    To handle this, instead let 'git stash apply' decide what the future
    argument to 'drop' should be.
    
    Warning: this means that 'git stash apply' must parse all options that
    'drop' can take, and deal with them in the same way.  This is
    currently true for its only option -q.
    
    Signed-off-by: Thomas Rast <trast@student.ethz.ch>
    Acked-by: Stephen Boyd <bebarino@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  3. @smoofra

    diff: make sure --output=/bad/path is caught

    smoofra authored committed
    The return value from fopen wasn't being checked.
    
    Signed-off-by: Larry D'Anna <larry@elder-gods.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 10, 2010
  1. t8003: check exit code of command and error message separately

    authored
    Shell reports exit status only from the most downstream command
    in a pipeline.  In these tests, we want to make sure that the
    command fails in a controlled way, and produces a correct error
    message.
    
    This issue was known by Jay who submitted the patch, and also was
    pointed out by Hannes during the review process, but I forgot to
    fix it up before applying.  Sorry about that.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 9, 2010
  1. @jaysoffian

    blame: prevent a segv when -L given start > EOF

    jaysoffian authored committed
    blame would segv if given -L <lineno> with <lineno> past the end of the file.
    While we're fixing the bug, add test cases for an invalid <start> when called
    as -L <start>,<end> or -L<start>.
    
    Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 1, 2010
  1. Merge branch 'sb/maint-octopus' into maint-1.6.5

    authored
    * sb/maint-octopus:
      octopus: remove dead code
      octopus: reenable fast-forward merges
      octopus: make merge process simpler to follow
  2. Merge branch 'bg/maint-add-all-doc' into maint-1.6.5

    authored
    * bg/maint-add-all-doc:
      git-rm doc: Describe how to sync index & work tree
      git-add/rm doc: Consistently back-quote
      Documentation: 'git add -A' can remove files
Commits on Jan 29, 2010
  1. @peff

    fix memcpy of overlapping area

    peff authored committed
    Caught by valgrind in t5500, but it is pretty obvious from
    reading the code that this is shifting elements of an array
    to the left, which needs memmove.
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 20, 2010
  1. Git 1.6.5.8

    authored
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. Merge branch 'jk/maint-1.6.5-reset-hard' into maint-1.6.5

    authored
    * jk/maint-1.6.5-reset-hard:
      reset: unbreak hard resets with GIT_WORK_TREE
  3. Merge branch 'tr/maint-1.6.5-bash-prompt-show-submodule-changes' into…

    authored
    … maint-1.6.5
    
    * tr/maint-1.6.5-bash-prompt-show-submodule-changes:
      bash completion: factor submodules into dirty state
  4. Merge branch 'dp/maint-1.6.5-fast-import-non-commit-tag' into maint-1…

    authored
    ….6.5
    
    * dp/maint-1.6.5-fast-import-non-commit-tag:
      fast-import: tag may point to any object type
  5. Merge branch 'jm/maint-1.6.5-grep-NUL-terminate' into maint-1.6.5

    authored
    * jm/maint-1.6.5-grep-NUL-terminate:
      grep: NUL terminate input from a file
Commits on Jan 19, 2010
  1. Merge branch 'maint-1.6.4' into maint-1.6.5

    authored
    * maint-1.6.4:
      Fix mis-backport of t7002
      base85: Make the code more obvious instead of explaining the non-obvious
      base85: encode_85() does not use the decode table
      base85 debug code: Fix length byte calculation
      checkout -m: do not try to fall back to --merge from an unborn branch
      branch: die explicitly why when calling "git branch [-a|-r] branchname".
      textconv: stop leaking file descriptors
      commit: --cleanup is a message option
      git count-objects: handle packs bigger than 4G
      t7102: make the test fail if one of its check fails
  2. Merge branch 'maint-1.6.3' into maint-1.6.4

    authored
    * maint-1.6.3:
      base85: Make the code more obvious instead of explaining the non-obvious
      base85: encode_85() does not use the decode table
      base85 debug code: Fix length byte calculation
      checkout -m: do not try to fall back to --merge from an unborn branch
      branch: die explicitly why when calling "git branch [-a|-r] branchname".
      textconv: stop leaking file descriptors
      commit: --cleanup is a message option
      git count-objects: handle packs bigger than 4G
      t7102: make the test fail if one of its check fails
    
    Conflicts:
    	builtin-commit.c
  3. Merge branch 'maint-1.6.2' into maint-1.6.3

    authored
    * maint-1.6.2:
      base85: Make the code more obvious instead of explaining the non-obvious
      base85: encode_85() does not use the decode table
      base85 debug code: Fix length byte calculation
      checkout -m: do not try to fall back to --merge from an unborn branch
      branch: die explicitly why when calling "git branch [-a|-r] branchname".
      textconv: stop leaking file descriptors
      commit: --cleanup is a message option
      git count-objects: handle packs bigger than 4G
      t7102: make the test fail if one of its check fails
    
    Conflicts:
    	diff.c
  4. Merge commit 'v1.6.4.4-8-g8de6518' into maint-1.6.4

    authored
    * commit 'v1.6.4.4-8-g8de6518':
      Fix mis-backport of t7002
  5. Fix mis-backport of t7002

    authored
    The original patch that became cfe370c (grep: do not segfault when -f is
    used, 2009-10-16), was made against "maint" or newer branch back then, but
    the fix addressed the issue that was present as far as in 1.6.4 series.
    
    The maintainer backported the patch to the 1.6.4 maintenance branch, but
    failed to notice that the new tests assumed the setup done by the script
    in "maint", which did quite a lot more than the same test script in 1.6.4
    series, and the output didn't match the expected result.
    
    This should fix it.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  6. @meyering

    grep: NUL terminate input from a file

    meyering authored committed
    Internally "git grep" runs regexec(3) that expects its input string
    to be NUL terminated.  When searching inside blob data, read_sha1_file()
    automatically gives such a buffer, but builtin-grep.c forgot to put
    the NUL at the end, even though it allocated enough space for it.
    
    Signed-off-by: Jim Meyering <meyering@redhat.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 15, 2010
  1. @dmpot

    fast-import: tag may point to any object type

    dmpot authored committed
    If you tried to export the official git repository, and then to import it
    back then git-fast-import would die complaining that "Mark :1 not a commit".
    
    Accordingly to a generated crash file, Mark 1 is not a commit but a blob,
    which is pointed by junio-gpg-pub tag. Because git-tag allows to create such
    tags, git-fast-import should import them.
    
    Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
    Acked-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 10, 2010
  1. Merge branch 'maint-1.6.1' into maint-1.6.2

    authored
    * maint-1.6.1:
      base85: Make the code more obvious instead of explaining the non-obvious
      base85: encode_85() does not use the decode table
      base85 debug code: Fix length byte calculation
      checkout -m: do not try to fall back to --merge from an unborn branch
      branch: die explicitly why when calling "git branch [-a|-r] branchname".
      textconv: stop leaking file descriptors
      commit: --cleanup is a message option
      git count-objects: handle packs bigger than 4G
      t7102: make the test fail if one of its check fails
    
    Conflicts:
    	diff.c
  2. Merge branch 'maint-1.6.0' into maint-1.6.1

    authored
    * maint-1.6.0:
      base85: Make the code more obvious instead of explaining the non-obvious
      base85: encode_85() does not use the decode table
      base85 debug code: Fix length byte calculation
      checkout -m: do not try to fall back to --merge from an unborn branch
      branch: die explicitly why when calling "git branch [-a|-r] branchname".
  3. base85: Make the code more obvious instead of explaining the non-obvious

    Andreas Gruenbacher authored committed
    Here is another cleanup ...
    
    Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  4. base85: encode_85() does not use the decode table

    Andreas Gruenbacher authored committed
    Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  5. base85 debug code: Fix length byte calculation

    Andreas Gruenbacher authored committed
    Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 7, 2010
  1. @bjorng

    git-rm doc: Describe how to sync index & work tree

    bjorng authored committed
    Newcomers to git that want to remove from the index only the
    files that have disappeared from the working tree will probably
    look for a way to do that in the documentation for 'git rm'.
    
    Therefore, describe how that can be done (even though it involves
    other commands than 'git rm'). Based on a suggestion by Junio,
    but re-arranged and rewritten to better fit into the style of
    command reference.
    
    While at it, change a single occurrence of "work tree" to "working
    tree" for consistency.
    
    Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. checkout -m: do not try to fall back to --merge from an unborn branch

    authored
    If switching from an unborn branch (= empty tree) to a valid commit failed
    without -m, it would fail with -m option as well.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.