Re: [PATCH 1/1] Tell vim the textwidth is 75.

2005-07-23 Thread Bryan Larsen
Catalin Marinas wrote: It seems I inadvertantly kicked off the discussion I wanted to kick off, but I didn't excpect this patch to do so! I prepared a patch adding the following information into git/Documentation to kick off discussion. Obviously Catalin is more likely to be accurate. O

[PATCH 1/1] Tell vim the textwidth is 75.

2005-07-21 Thread Bryan larsen
When invoking EDITOR, add some metadata to tell vim the textwidth is 75. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- stgit/stack.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/stgit/stack.py b/stgit/stack.py --- a/stgit/stack.py +++ b/stgit/st

[PATCH 1/1] Add authentication capability to the mail command.

2005-07-21 Thread Bryan larsen
Add authentication capability to the mail command. Added 'smtppassword' and 'smtpuser' to config file and --smtp-user, --smtp-password to command line. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- stgit/commands/mail.py | 34 +

[PATCH 1/1] Support configurable SMTP port for stg mail.

2005-07-21 Thread Bryan larsen
The example configuration file makes it appear that the SMTP port is configurable. Make it so. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- stgit/commands/mail.py |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/stgit/commands/mail.py b/stgit/co

[PATCH 1/1] Support configurable SMTP port for stg mail.

2005-07-21 Thread Bryan larsen
The example configuration file makes it appear that the SMTP port is configurable. Make it so. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- stgit/commands/mail.py |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/stgit/commands/mail.py b/stgit/co

Re: git, porcelain, darcs, and version 1.0

2005-07-18 Thread Bryan Larsen
Junio C Hamano wrote: I fully agree that supporting C-level linkage is worthy, and should be one of our longer term goals. Excellent. A similar 1.0 goal would be to document porcelain's use of the .git directory. For instance, stacked git uses .git/patches, .git/patchdescr.tmpl and .git/p

OLS?

2005-07-18 Thread Bryan Larsen
Hi gitsters, I'm currently living in Ottawa, and will be attending OLS. I would like to meet people involved with git. I can offer my house (walking distance from OLS), my BBQ, my beer or my recommendations on good restaurants to facilitate an informal BOF. Bryan - To unsubscribe from this

Re: git, porcelain, darcs, and version 1.0

2005-07-18 Thread Bryan Larsen
Darcs and git work together to determine the minimal amount that needs to go into libgit1.so. Hold on... Nobody is speaking about *binary* compatibility, it's source-level compatibility that we need. There is absolutely no reason to introduce the complexities of shared libraries into the pi

git, porcelain, darcs, and version 1.0

2005-07-17 Thread Bryan Larsen
Juliusz Chroboczek wrote: There are three ways to do that: (1) require that the users put a suitable libgit.a in /usr/local/lib before building Darcs, and distribute a tarball of Git from darcs.net; I was under the impression that the stablest interface to git was the command li

Re: Barebone Porcelain. Where to stop?

2005-07-17 Thread Bryan Larsen
Junio C Hamano wrote: I have been somewhat disturbed and confused by the fact that the line between what Porcelain like Cogito does and what we ship as part of "core GIT" is getting more and more blurred. This was especially so while I was working on the $GIT_DIR/branches/ patch. I have also b

[PATCH UPDATED] cg-commit chokes when given a very large list of files

2005-07-17 Thread Bryan Larsen
cg-commit currently chokes when passed a very large list of files. Fix it. Resent again. This time we completely avoid messing with IFS, resulting in support for filenames with line feeds. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-Xlib | 18 ++ cg-

Re: [PATCH] cg-commit chokes when given a very large list of files

2005-07-17 Thread Bryan Larsen
This patch is broken. The original patch still works. Bryan Bryan Larsen wrote: cg-commit currently chokes when passed a very large list of files. Fix it. This patch depends on your filenames not containing line feeds. No big deal, other parts of cogito break on filenames containing line

[PATCH] cg-commit chokes when given a very large list of files

2005-07-17 Thread Bryan Larsen
cleaner. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-commit |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cg-commit b/cg-commit --- a/cg-commit +++ b/cg-commit @@ -289,9 +289,9 @@ precommit_update () { eval "[EMAIL PROTECT

[PATCH 1/6 RESEND] cogito: remove use of xargs -r, a non-portable GNU extension

2005-07-17 Thread Bryan Larsen
Remove usage of xargs -r, a non-portable gnu extension. Resent with nasty bug fixed. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-add |6 +++--- cg-init |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cg-add b/cg-add --- a/cg-add +++ b/cg-add @@

[PATCH 5/6] cogito: remove findutils dependency from Portfile

2005-07-17 Thread Bryan Larsen
Gnu findutils (xargs) is no longer required; remove the dependency. Gnu coreutils is still required, but only if awk is not installed. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- Portfile.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Portfil

[PATCH 6/6] cogito: update documentation

2005-07-17 Thread Bryan Larsen
Update the documentation to add a README.osx and update requirements. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- README |2 ++ README.osx | 31 +++ 2 files changed, 33 insertions(+), 0 deletions(-) diff --git a/README b/README --- a/README

[PATCH 4/6] cogito: try harder to find gnu date

2005-07-17 Thread Bryan Larsen
Look harder for gnu date, use if available. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-Xlib | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/cg-Xlib b/cg-Xlib --- a/cg-Xlib +++ b/cg-Xlib @@ -70,7 +70,7 @@ showdate () { secs=$(

[PATCH 3/6] cogito: try harder to find gnu stat

2005-07-17 Thread Bryan Larsen
Look harder for gnu stat. Cogito has code to use awk if gnu stat is missing. Look harder for gnu stat under alternate names such as gstat and gnustat, avoiding the use of awk if possible. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-Xlib | 13 + 1 files chan

[PATCH 2/6] cogito: remove use of cp -a, a non-portable GNU extension

2005-07-17 Thread Bryan Larsen
Remove usage of cp -a, a non-portable gnu extension. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-pull |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cg-pull b/cg-pull --- a/cg-pull +++ b/cg-pull @@ -217,7 +217,7 @@ fetch_local () { [ &quo

[PATCH 1/6] cogito: remove use of xargs -r, a non-portable GNU extension

2005-07-17 Thread Bryan Larsen
Remove usage of xargs -r, a non-portable gnu extension. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-add |6 +++--- cg-init |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cg-add b/cg-add --- a/cg-add +++ b/cg-add @@ -25,8 +25,6 @@ USAGE="

[PATCH 0/6] cogito: compatibility with OS X

2005-07-17 Thread Bryan Larsen
This is a resend of my previous set of patches. I have updated these patches with Junio's suggestion. I have also added some documentation, a simple README.osx. Once you have applied these patches, could you choose one of these 4 options, Junio? 1) send me the result of "make Portfile" on next

[PATCH 4/5] cogito: try harder to find gnu date

2005-07-16 Thread Bryan Larsen
Look harder for gnu date, use if available. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-Xlib |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cg-Xlib b/cg-Xlib --- a/cg-Xlib +++ b/cg-Xlib @@ -70,7 +70,7 @@ showdate () { secs=$(($secs + $t

[PATCH 3/5] cogito: try harder to find gnu stat

2005-07-16 Thread Bryan Larsen
Look harder for gnu stat. Cogito has code to use awk if gnu stat is missing. Look harder for gnu stat under alternate names such as gstat and gnustat, avoiding the use of awk if possible. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-Xlib |6 +++--- 1 files changed, 3 inse

[PATCH 5/5] cogito: remove findutils dependency from Portfile

2005-07-16 Thread Bryan Larsen
Gnu findutils (xargs) is no longer required; remove the dependency. Gnu coreutils is still required, but only if awk is not installed. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- Portfile.in |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/Portfil

[PATCH 1/5] cogito: remove use of xargs -r, a non-portable GNU extension

2005-07-16 Thread Bryan Larsen
Remove usage of xargs -r, a non-portable gnu extension. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-add |6 +++--- cg-init |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cg-add b/cg-add --- a/cg-add +++ b/cg-add @@ -25,8 +25,6 @@ USAGE="

[PATCH 2/5] cogito: remove use of cp -a, a non-portable GNU extension

2005-07-16 Thread Bryan Larsen
Remove usage of cp -a, a non-portable gnu extension. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-pull |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cg-pull b/cg-pull --- a/cg-pull +++ b/cg-pull @@ -217,7 +217,7 @@ fetch_local () { [ &quo

[PATCH 0/5] cogito: compatibility with OS X

2005-07-16 Thread Bryan Larsen
Since Linus and Junio were unhappy with my previous set of patches to make git and cogito compatible with OS X and other BSD unices, I have redone my patches to cogito along a similar line. There is still one outstanding incompatibility: cogito makes use of cp -u. I have this message from Junio:

[PATCH] git: remove usage of xargs -r, a non-portable gnu extension

2005-07-16 Thread Bryan Larsen
Remove usage of xargs -r, a non-portable gnu extension. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- git-prune-script |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-prune-script b/git-prune-script --- a/git-prune-script +++ b/git-prune-script @@ -20,6

Re: [PATCH] stgit: allow spaces in filenames

2005-07-14 Thread Bryan Larsen
Does it make that big difference if the commands are invoked via the shell? I haven't run any tests. It wasn't for the time difference that I bypassed the shell, it was to support spaces and other strange characters in parameters. It's easy to use spawnvp than it is to escape the paramete

[PATCH] stgit: export without --range does not export the last patch

2005-07-13 Thread Bryan Larsen
The top patch is never exported. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- stgit/commands/export.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/stgit/commands/export.py b/stgit/commands/export.py --- a/stgit/commands/export.py +++ b/stgit/co

[PATCH] stgit: allow spaces in filenames (second try)

2005-07-13 Thread Bryan Larsen
The current version of stgit does not allow whitespace in filenames. This patch fixes that. It also speeds up operations on large filesets considerably. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- stgit/commands/export.py |4 - stgit/git.py

Re: [PATCH] stgit: allow spaces in filenames

2005-07-13 Thread Bryan Larsen
Catalin Marinas wrote: An additional thing, can you please convert all the tabs to spaces? That's a better convention for a language like Python where you delimit blocks by indentation. I would have hoped that emacs py-mode would "do the right thing". Anybody know how to make it do what Catali

[PATCH] stgit: new --message does not work

2005-07-13 Thread Bryan Larsen
Stacked GIT: Using the --message option with the new command fails. Fix it. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- stgit/stack.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/stgit/stack.py b/stgit/stack.py --- a/stgit/stack.py +++ b/stgit/st

[PATCH] stgit: allow spaces in filenames

2005-07-13 Thread Bryan Larsen
The current version of stgit does not allow whitespace in filenames. This patch fixes that. It also speeds up operations on large filesets considerably. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- stgit/git.py | 158 +++--

Re: Stacked GIT 0.4

2005-07-12 Thread Bryan Larsen
Catalin Marinas wrote: Bryan Larsen <[EMAIL PROTECTED]> wrote: template files for the "series" output of export, to put it into a format that "sendpatchset" understands. I thought about integrating sendpatchset into stgit but it is much simpler to just generate a c

[PATCH] cg-commit chokes when given a very large list of files

2005-07-12 Thread Bryan Larsen
cg-commit currently chokes when passed a very large list of files. Fix it. This patch depends on your filenames not containing line feeds. No big deal, lots of other parts of cogito break on filenames containing line feeds. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-

Re: Stacked GIT 0.4

2005-07-12 Thread Bryan Larsen
Catalin Marinas wrote: Stacked GIT 0.4 release is available from http://procode.org/stgit/ Very nice. Here's my wishlist. Hopefully I'll be able to dig in and help out. import: the complement to export template files for the "series" output of export, to put it into a format that "sendpatc

Re: [PATCH 3/6] git-gnu-progs-Makefile: git Makefile update

2005-07-11 Thread Bryan Larsen
The only user of "cp -l" in the Linus GIT is git-clone-script local optimization. I could revert it to the version that I originally sent to the list, which uses cpio -pld, if your cpio groks that flag. Those options are in the man page, at least. Bryan - To unsubscribe from this list: send t

Re: [PATCH 3/6] git-gnu-progs-Makefile: git Makefile update

2005-07-11 Thread Bryan Larsen
Junio C Hamano wrote: Junio C Hamano <[EMAIL PROTECTED]> writes: The only user of "cp -l" in the Linus GIT is git-clone-script local optimization. I could revert it to the version that I originally sent to the list, which uses cpio -pld, if your cpio groks that flag. Bryan, does this work

Re: [PATCH 3/6] git-gnu-progs-Makefile: git Makefile update

2005-07-11 Thread Bryan Larsen
Linus Torvalds wrote: On Mon, 11 Jul 2005, Junio C Hamano wrote: I am not yet convinced "one variable per GNU program" is the right way to do (I do agree it is a problem and I appreciate your trying to solving it; an obvious alternative cop-out would be to fix this in the user's environment, b

Re: [PATCH 3/6] git-gnu-progs-Makefile: git Makefile update

2005-07-11 Thread Bryan Larsen
Junio C Hamano wrote: Bryan Larsen <[EMAIL PROTECTED]> writes: + for file in $(SCRIPTS); do \ + sed -e "s/DATE\=date/DATE=$${DATE}/" -e "s/CP\=cp/CP=$${CP}/" -e "s/XARGS\=xargs/XARGS=$${XARGS}/" -e "s/STAT\=stat/STAT=$${STAT}/&qu

[PATCH 3/6] git-gnu-progs-Makefile: git Makefile update

2005-07-11 Thread Bryan Larsen
Update the git Makefile to put the results of config.sh into the scripts. config.sh searches for gnu utilities cp, stat, date and xargs. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- Makefile | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Ma

[PATCH 6/6] darwinports-Portfile: Portfile for cogito

2005-07-11 Thread Bryan Larsen
A Portfile for darwinports. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- Makefile|2 ++ Portfile.in | 25 + 2 files changed, 27 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -240,6 +240,8 @

[PATCH 1/6] git-gnu-progs: parameterize git

2005-07-11 Thread Bryan Larsen
Patch git so that the utilities 'cp' 'stat' 'xargs' and 'date' are configurable. Git requires the gnu versions of these tools, and on some BSD derived systems, the gnu versions of these tools have a different name. Signed-off-by: Bryan Larsen <[EMAI

[PATCH 0/6] parameterize gnu tool names; add Portfile for OS X darwinports

2005-07-11 Thread Bryan Larsen
Cogito and git rely on the gnu version of 4 standard utilities: cp, date, stat and xargs. On most non-Linux based Unix's, the gnu tools are optional installs, and are installed under different names. These patches parameterize the names of these 4 tools, determine what name should be used, and v

[PATCH 4/6] cogito-gnu-progs: parameterize cogito

2005-07-11 Thread Bryan Larsen
Patch cogito so that the utilities 'cp' 'stat' 'xargs' and 'date' are configurable. Cogito requires the gnu versions of these tools, and on some BSD derived systems, the gnu versions of these tools have a different name. Signed-off-by: Bryan Larsen <

[PATCH 5/6] cogito-gnu-progs-Makefile: cogito Makefile update

2005-07-11 Thread Bryan Larsen
Update the cogito Makefile to put the results of config.sh into the scripts. config.sh searches for gnu utilities cp, stat, date and xargs. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- Makefile | 18 ++ 1 files changed, 14 insertions(+), 4 deletions(-) diff -

[PATCH 2/6] config-sh: find and verify utils

2005-07-11 Thread Bryan Larsen
Add config.sh which searches for gnu versions of 'cp' 'stat' 'date' and 'xargs'. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- config.sh | 65 + 1 files changed, 65 insertion

Re: Commit 7c5977297f07c2a52c8c0f486309076b2a795d33 appears to have broken cg-init

2005-07-10 Thread Bryan Larsen
Yes, I meant to use $ARGS. I included the fix in the patchset I just sent. Sorry, Bryan Joel Becker wrote: Petr, Commit 7c5977297f07c2a52c8c0f486309076b2a795d33 contains the chunk: -uri=$1 + +infoonly= +while optparse; do + if optparse -N; then + infoonly=-N +

[PATCH 4/4] switch cg-commit -N to use --missing-ok instead of --no-check

2005-07-10 Thread Bryan Larsen
Make cg-commit aware of the rename of git-write-tree --no-check to --missing-ok. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- diff --git a/cg-commit b/cg-commit --- a/cg-commit +++ b/cg-commit @@ -111,13 +111,13 @@ forceeditor= ignorecache= infoonly= commitalways= -nocheck= +mis

[PATCH 3/4] add --missing-ok option to write-tree

2005-07-10 Thread Bryan Larsen
Add --missing-ok option to git-write.tree. This option allows a write-tree even if the referenced objects are not in the database. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- diff --git a/Documentation/git-write-tree.txt b/Documentation/git-write-tree.txt --- a/Documentation/git

[PATCH 2/4] bugfix for cg-init -N: pass -N to cg-commit

2005-07-10 Thread Bryan Larsen
Bugfix for cg-init -N: the -N option needs to be passed down into cg-commit as well. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- diff --git a/cg-init b/cg-init --- a/cg-init +++ b/cg-init @@ -56,7 +56,7 @@ if [ "$uri" ]; then else git-read-tree # Seed the dirca

[PATCH 1/4] bugfix for cg-init: ARGV

2005-07-10 Thread Bryan Larsen
Bugfix: nasty typo (ARGV instead of ARGS) in my last patch to cg-init. Signed off by: Bryan Larsen <[EMAIL PROTECTED]> --- diff --git a/cg-init b/cg-init --- a/cg-init +++ b/cg-init @@ -33,7 +33,7 @@ while optparse; do fi done -uri=$ARGV +uri=$ARGS [ -e $_git ] &&a

[PATCH 0/4] add write-tree --missing OK, fix cogito -N options

2005-07-10 Thread Bryan Larsen
All of my patches have been applied to git and cogito except for the first one, the patch that adds the --no-check option to git-write-tree. This is problematic because one of the patches that Petr applied to cogito requires git-write-tree --no-check. As well, there are two bugs in cg-init: the

Re: cogito Mac OS X compatibility

2005-07-09 Thread Bryan Larsen
Sounds like you're missing "stat" from coreutils. skimo Thanks. I've got it working to the point where it passes "make test" now. All I had to do was install coreutils and findutils from darwinports, and then make gcp, gstat and gnuxargs available under their standard names. Do the BS

[PATCH 3/3] add -N option to cg-init (resent again)

2005-07-09 Thread Bryan Larsen
(resending cogito patches) add the -N option to cg-init Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-init | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/cg-init b/cg-init --- a/cg-init +++ b/cg-init @@ -10,13 +10,29 @@ # # If `c

[PATCH 2/3] add -N option to cg-commit (resent again)

2005-07-09 Thread Bryan Larsen
(resending cogito patches) Add the -N option to cg-commit. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-commit | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/cg-commit b/cg-commit --- a/cg-commit +++ b/cg-commit @@ -39,6 +39,10 @@ #

[PATCH 3/3] add -N option to cg-init (resent)

2005-07-09 Thread Bryan Larsen
(resending cogito patches) Add the -N option to cg-add. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-add | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/cg-add b/cg-add --- a/cg-add +++ b/cg-add @@ -13,20 +13,35 @@ # is that &

[PATCH 2/3] add -N option to cg-commit (resent)

2005-07-09 Thread Bryan Larsen
(resending cogito patches) Add the -N option to cg-add. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-add | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/cg-add b/cg-add --- a/cg-add +++ b/cg-add @@ -13,20 +13,35 @@ # is that &

[PATCH 1/3] add -N option to cg-add (resent)

2005-07-09 Thread Bryan Larsen
(resending cogito patches) Add the -N option to cg-add. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-add | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/cg-add b/cg-add --- a/cg-add +++ b/cg-add @@ -13,20 +13,35 @@ # is that &

cogito Mac OS X compatibility

2005-07-08 Thread Bryan Larsen
On Mac OS X $ cg-clone http://www.kernel.org/pub/scm/cogito/cogito.git defaulting to local storage area 19:11:10 URL:http://www.kernel.org/pub/scm/cogito/cogito.git/refs/heads/master [41/41] -> "refs/heads/origin" [1] /Users/blarsen/bin/cg-pull: line 82: 0 + : syntax error: operand expected (e

Re: patches to support working without the object database

2005-07-08 Thread Bryan Larsen
Junio C Hamano wrote: "BL" == Bryan Larsen <[EMAIL PROTECTED]> writes: BL> Sometimes you may wish to keep an audit trail of what changed, where, BL> and by whom. You do not need to know the exact details of the change, BL> and the files are so large that keeping an

[PATCH] 5/7 Add the -N option to cg-add.

2005-07-08 Thread Bryan Larsen
Add the -N option to cg-add. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-add | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/cg-add b/cg-add --- a/cg-add +++ b/cg-add @@ -13,20 +13,35 @@ # is that 'Cogito' manages c

[PATCH] 6/7 Add the -N option to cg-commit.

2005-07-08 Thread Bryan Larsen
Add the -N option to cg-commit. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-commit | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/cg-commit b/cg-commit --- a/cg-commit +++ b/cg-commit @@ -39,6 +39,10 @@ # the tree is the same

[PATCH] 2/7 Prepare for the next two patches

2005-07-08 Thread Bryan Larsen
and the subsequent patches minimally intrusive. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cache.h|3 ++- sha1_file.c| 13 + update-cache.c |2 +- write-blob.c |2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/cac

[PATCH] 7/7 add -N option to cg-init

2005-07-08 Thread Bryan Larsen
add -N option to cg-init Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- cg-init | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/cg-init b/cg-init --- a/cg-init +++ b/cg-init @@ -10,13 +10,29 @@ # # If `cg-init` is run in a non

[PATCH] 3/7 Add --info-only option to git-update-cache.

2005-07-08 Thread Bryan Larsen
Add --info-only option to git-update-cache. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- Documentation/git-update-cache.txt | 23 +++ update-cache.c | 14 +++--- 2 files changed, 30 insertions(+), 7 deletions(-) diff -

[PATCH] 4/7 Use SHA1 for git-update-cache --refresh

2005-07-08 Thread Bryan Larsen
Change git-update-cache --refresh behaviour to use sha1's rather than comparing byte by byte. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- update-cache.c | 31 +-- 1 files changed, 5 insertions(+), 26 deletions(-) diff --git a/update-cache

patches to support working without the object database

2005-07-08 Thread Bryan Larsen
Sometimes you may wish to keep an audit trail of what changed, where, and by whom. You do not need to know the exact details of the change, and the files are so large that keeping an extra copy of the data in the object database cache is prohibitively expensive. Git is (almost) ideally suited

[PATCH] add --no-check option to git-write-tree

2005-07-08 Thread Bryan Larsen
Add --no-check option to git-write-tree. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- Documentation/git-write-tree.txt |6 ++ write-tree.c | 14 +- 2 files changed, 19 insertions(+), 1 deletions(-) diff --git a/Documentation/git-write-tr