Permalink
Commits on Jan 8, 2006
  1. GIT 1.0.8

    Junio C Hamano committed Jan 8, 2006
  2. mailsplit: allow empty input from stdin

    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 8, 2006
  3. revert/cherry-pick: handle single quote in author name.

    The same fix as aa66c7e is
    needed here.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 8, 2006
  4. Fix git-format-patch usage string wrt output modes.

    --stdout was not mentionned, and the description for the case where -o
    was not given was thus incomplete.
    
    Signed-off-by: Yann Dirson <ydirson@altern.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    ydirson committed with Junio C Hamano Jan 8, 2006
  5. Fix typo in debug stanza of t2001

    Signed-off-by: Yann Dirson <ydirson@altern.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    ydirson committed with Junio C Hamano Jan 8, 2006
Commits on Jan 7, 2006
  1. tar-tree: finish honoring extractor's umask in git-tar-tree.

    Earlier commit 38ec15a forgot
    to apply the same principle of not forcing go-w to the base
    directory when specified.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 7, 2006
  2. [PATCH] Compilation: zero-length array declaration.

    ISO C99 (and GCC 3.x or later) lets you write a flexible array
    at the end of a structure, like this:
    
    	struct frotz {
    		int xyzzy;
    		char nitfol[]; /* more */
    	};
    
    GCC 2.95 and 2.96 let you to do this with "char nitfol[0]";
    unfortunately this is not allowed by ISO C90.
    
    This declares such construct like this:
    
    	struct frotz {
    		int xyzzy;
    		char nitfol[FLEX_ARRAY]; /* more */
    	};
    
    and git-compat-util.h defines FLEX_ARRAY to 0 for gcc 2.95 and
    empty for others.
    
    If you are using a C90 C compiler, you should be able
    to override this with CFLAGS=-DFLEX_ARRAY=1 from the
    command line of "make".
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 7, 2006
  3. prune: do not show error from pack-redundant when no packs are found.

    When there is no pack yet, git-prune leaked an error message
    from "git-pack-redundant --all" which complained that there is
    no pack.  Squelch the annoying message.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 7, 2006
  4. Retire debian/ directory.

    The official maintainer is keeping up-to-date quite well, and now
    the older Debian is supported with backports.org, there is no reason
    for me to keep debian/ directory around here.
    
    I have not been building and publishing debs since 1.0.4 anyway.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 7, 2006
  5. unpack-objects: default to quiet if stderr is not a tty.

    This would help cron/at jobs that run send-pack to mirror
    repositories.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 7, 2006
Commits on Jan 6, 2006
  1. Substitute "/" with $opt_s in tag names as well as branch names

    In 'git cvsimport' changes "/" to "-" (or $opt_s) in branch names,
    but not in tag names, which is inconsistent.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    jenglish committed with Junio C Hamano Jan 6, 2006
  2. Teach cvsexportcommit to add new files

    "cvs add" support was already there, but the "unknown" status
    returned when querying a file not yet known to cvs caused the
    script to abort prematurely.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    ydirson committed with Junio C Hamano Jan 6, 2006
  3. GIT 1.0.7

    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 6, 2006
  4. Fix git-symbolic-ref typo in git.txt.

    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Jon Loeliger committed with Junio C Hamano Jan 3, 2006
  5. git: grok 'help' to mean '--help'.

    Most other scm's understand it, most users expect it and it's an easy fix.
    
    Signed-off-by: Andreas Ericsson <ae@op5.se>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Andreas Ericsson committed with Junio C Hamano Jan 3, 2006
  6. Documentation/git-svnimport: document -T and -t switches correctly

    The -T and -t switches are swapped in the documentation and actual
    code.  I've made the documentation match the code.
    
    Signed-off-by: Eric Wong <normalperson@yhbt.net>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Eric Wong committed with Junio C Hamano Jan 1, 2006
  7. svnimport: support repositories requiring SSL authentication

    I looked at svn-mirror to see how it did this, seems about right.
    "It works for me" when using it against https://svn.musicpd.org
    
    tested command-line: git-svnimport -C mpc -i -m -v  \
    	-T mpc/trunk -b mpc/branches -t mpc/tags https://svn.musicpd.org
    
    Signed-off-by: Eric Wong <normalperson@yhbt.net>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Eric Wong committed with Junio C Hamano Jan 1, 2006
  8. t3300: skip when filesystem does not like TAB in filenames.

    Instead of checking Cygwin explicitly, see if the filesystem lets us
    create funny filenames.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 6, 2006
  9. format-patch/commit: Quote single quote in the author name properly.

    Noticed by Kyle McMartin.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 6, 2006
  10. git-fetch --tags: reject malformed tags.

    When the other end was prepared with older git and has tags that
    do not follow the naming convention (see check-ref-format), do not
    barf but simply reject to copy them.
    
    Initial fix by Simon Richter, but done differently.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano committed Jan 6, 2006
  11. Wrap synopsis lines and use [verse] to keep formatting

    In addition, also fixes a few synopses to be more consistent and a gitlink.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    jonas committed with Junio C Hamano Dec 31, 2005
  12. use GIT_DIR instead of /var/tmp

    Not every system (will not one microsoft windows system) have /var/tmp,
    whereas using GIT_DIR for random temporary files is more or less established.
    
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  13. trivial: check, if t/trash directory was successfully created

    and was successfully entered. Otherwise git-init-db will create it directly
    in the working directory (t/) which can be dangerous.
    
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  14. trivial: .gitignore precompiled python modules

    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  15. trivial: use git-repo-config to detect how to run tests in the test r…

    …epository
    
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  16. trivial: use git-repo-config to detect if the test can be run on the …

    …repository
    
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  17. trivial: remove the dots at the end of file names from merge-one-file

    to make the output more friendly to mouse copy-paste.
    
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  18. trivial: clarify, what are the config's user.name and user.email about

    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  19. trivial: typo in git-commit.sh

    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  20. use result of open(2) to check for presence

    Not that the stat against open race would matter much in this context,
    but that simplifies
    the code a bit. Also some diagnostics added (why the open failed)
    
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  21. fix potential deadlock in create_one_file

    It can happen if the temporary file already exists (i.e. after a panic
    and reboot).
    
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  22. trivial: O_EXCL makes O_TRUNC redundant

    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  23. trivial: retval of waitpid is not errno

    ...but is used as such and passed to strerror.
    
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    raalkml committed with Junio C Hamano Jan 5, 2006
  24. Fix nasty approxidate bug

    Stupid me.
    
    If approxidate ends up with a month that is ahead of the current month, it
    decrements the year to last year.
    
    Which is correct, and means that "last december" does the right thing.
    
    HOWEVER. It should only do so if the year is the same as the current year.
    
    Without this fix, "5 days ago" ends up being in 2004, because it first
    decrements five days, getting us to December 2005 (correct), but then it
    also ends up decrementing the year once more to turn that December into
    "last year" (incorrect, since it already _was_ last year).
    
    Duh. Pass me a donut.
    
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Linus Torvalds committed with Junio C Hamano Jan 5, 2006
  25. AIX compile fix for repo-config.c

    AIX 5 has a /usr/include/regex.h containing this code:
    
     #ifdef  _NO_PROTO
     extern  char    *regex();
     extern  char    *regcmp();
     #else /* _NO_PROTO */
     extern  char    *regex(const char *, const char *, ...);
     extern  char    *regcmp(const char *, ...);
     #endif  /* _NO_PROTO */
    
    This means that repo-config.c is trying to redefine the `regex' symbol.
    Here is a simple patch that just uses `regexp' as the symbol name instead.
    
    Signed-off-by: Amos Waterland <apw@us.ibm.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Amos Waterland committed with Junio C Hamano Jan 5, 2006