Re: [PATCH] gittrack.sh accepts invalid branch names

2005-04-20 Thread Paul Jackson
cut -f1 .git/remotes | grep -Fx "$name" >/dev/null -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from th

Re: optimize gitdiff-do script

2005-04-18 Thread Paul Jackson
n't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: A couple of questions

2005-04-18 Thread Paul Jackson
till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: optimize gitdiff-do script

2005-04-18 Thread Paul Jackson
evious mktemp removal patch, or on top of it? -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send

Re: [4/5] Add option for hardlinkable cache of extracted blobs

2005-04-17 Thread Paul Jackson
Pasky wrote: > It has some room for more > crystal-clearness, though. ;-) True indeed ;). -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600

Re: fix mktemp (remove mktemp ;)

2005-04-17 Thread Paul Jackson
Herbert wrote: > mktemp(1) creates the file before exiting. ... O_EXCL Aha - right you are. Thanks for pointing that out. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]

Re: using git directory cache code in darcs?

2005-04-17 Thread Paul Jackson
, because the data structures are never perfectly stable. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the lin

Re: using git directory cache code in darcs?

2005-04-17 Thread Paul Jackson
t, however since I have other commitments for the next month at least, so can't volunteer right away, if ever, it is more appropriate that I shut up now, under the old "put up code or be quiet" rule. -- I won't rest till it's the best ...

Re: using git directory cache code in darcs?

2005-04-17 Thread Paul Jackson
x27;t rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [4/5] Add option for hardlinkable cache of extracted blobs

2005-04-17 Thread Paul Jackson
accessible to the _real_ uid/gid, access F_OK will fail. If the problem is a lack of seach permissions on some directory in the path, the errno will be EACCES. -- I won't rest till it's the best ... Programmer, Linux Scalability

Re: [4/5] Add option for hardlinkable cache of extracted blobs

2005-04-17 Thread Paul Jackson
uld fail ENOENT. > And it would depend on the privs of > the wrong user in looking at the path. Yup. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.

Re: [4/5] Add option for hardlinkable cache of extracted blobs

2005-04-17 Thread Paul Jackson
Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [4/5] Add option for hardlinkable cache of extracted blobs

2005-04-17 Thread Paul Jackson
I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Yet another base64 patch

2005-04-17 Thread Paul Jackson
tion sets. Happy coding ... -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git"

Re: Storing permissions

2005-04-17 Thread Paul Jackson
for backups. I have one that I use for my own backups, but it is written in Python, and uses MD5, one or the other of which likely disqualifies it from further consideration by half the readers of this list. -- I won't rest till it's the best ...

Re: Storing permissions

2005-04-16 Thread Paul Jackson
I'll shut up now ;). -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in

Re: SHA1 hash safety

2005-04-16 Thread Paul Jackson
I have nothing further to contribute to this subtopic. Good luck with it. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscrib

Re: SHA1 hash safety

2005-04-16 Thread Paul Jackson
> but the chance of any collision at all wigs me out. Guess you're just going to get wigged out then. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.13

Re: Yet another base64 patch

2005-04-16 Thread Paul Jackson
David wrote: > It's a trade-off, I know. So where do you recommend we make that trade-off? -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.6

Re: fix mktemp (remove mktemp ;)

2005-04-16 Thread Paul Jackson
thousands of examples of how to do this with bash. Care to provide one? -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from

Re: Storing permissions

2005-04-16 Thread Paul Jackson
ineers. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of

Re: fix mktemp (remove mktemp ;)

2005-04-16 Thread Paul Jackson
e system in a heavy NFS environment. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubsc

Re: fix mktemp (remove mktemp ;)

2005-04-16 Thread Paul Jackson
/tmp trap 'rm -fr $tmp; trap 0; exit 0' 0 1 2 3 15 If interested, would you want it instead of my previous mktemp removal patch, or on top of it? -- I won't rest till it's the best ... Programmer, Linux Scalability

Re: [PATCH] show-diff shell safety

2005-04-16 Thread Paul Jackson
o cause problems with these calls. One should directly code execve(), execv(), or execl(). Search for "popen system IFS PATH" -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROT

Re: [PATCH] Use libcurl to use HTTP to get repositories

2005-04-16 Thread Paul Jackson
Daniel wrote: > I'm working off of Linus's tree when not working on scripts, and it > doesn't have that section at all. Ah so - nevermind my README comments then. -- I won't rest till it's the best ... Programmer, Linux Sca

Re: fix mktemp (remove mktemp ;)

2005-04-16 Thread Paul Jackson
And actually my distro is fine - it's just that I am running an old version of it on one of my systems. Newer versions of the mktemp -t option. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson

Re: [PATCH] Use libcurl to use HTTP to get repositories

2005-04-16 Thread Paul Jackson
rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More ma

Re: optimize gitdiff-do script

2005-04-16 Thread Paul Jackson
the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Storing permissions

2005-04-16 Thread Paul Jackson
Junio wrote: > Sounds like svn I have no idea what svn is. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this

Re: fix mktemp (remove mktemp ;)

2005-04-16 Thread Paul Jackson
I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL

Re: [PATCH] fix mktemp (remove mktemp ;)

2005-04-16 Thread Paul Jackson
orgotten why I made that choice. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsu

[PATCH] missing mkdir -p flag in gitdiff-do

2005-04-16 Thread Paul Jackson
First mkdir in gitdiff-do missing -p, so useless error Signed-off-by: Paul Jackson <[EMAIL PROTECTED]> Index: git-pasky-0.4/gitdiff-do === --- git-pasky-0.4.orig/gitdiff-do 2005-04-16 13:18:29.0 -0700 +++ git-pas

[PATCH] fix mktemp (remove mktemp ;)

2005-04-16 Thread Paul Jackson
so that scripts interrupted by signals HUP, INT, QUIT or PIPE will cleanup. Signed-off-by: Paul Jackson <[EMAIL PROTECTED]> Index: git-pasky-0.4/README === --- git-pasky-0.4.orig/README 2005-04-16 13:16:54.0 -0700 +++

[PATCH] optimize gitdiff-do script

2005-04-16 Thread Paul Jackson
en displaying names; dont expand escape sequences in names. Use shell noglob (-f) to minimize getdents() calls. Simplify argument parsing and tmp file management. Comment the nastier shell patterns. This reduces the time by about 1/3 of what it was. Signed-off-by: Paul Jackson <[EMAIL PROTE

Re: Storing permissions

2005-04-16 Thread Paul Jackson
ode state - executable or not. Let local environment determine read, write and umask permissions. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 -

Re: SHA1 hash safety

2005-04-16 Thread Paul Jackson
7;t rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED]

Re: SHA1 hash safety

2005-04-16 Thread Paul Jackson
ds me of the drunk looking under the lamp post for the house keys he dropped - because that's where the light is. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.

Re: SHA1 hash safety

2005-04-16 Thread Paul Jackson
er, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: write-tree is pasky-0.4

2005-04-16 Thread Paul Jackson
filez: diff -au file1 file2 | patch -f filez merge -q filez file1 file2 -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To

Re: Merge with git-pasky II.

2005-04-15 Thread Paul Jackson
the patch series that gets you here, starting from some Time Zero for that series of published kernel versions. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.040

Re: Merge with git-pasky II.

2005-04-15 Thread Paul Jackson
ile, consisting of a series of content versions and meta-data" That's what I get for trusting Linus to always speak as a kernel hacker, not an SCM hacker. -- I won't rest till it's the best ... Programmer, Linux Scalability

Re: Merge with git-pasky II.

2005-04-15 Thread Paul Jackson
asier. Clearly, I don't git it. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscrib

Re: Remove need to untrack before tracking new branch

2005-04-14 Thread Paul Jackson
ere the bitops &, | and ^ bite you is that they are lower precedence than many other ops, including '=='. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.93

Re: another perspective on renames.

2005-04-14 Thread Paul Jackson
. Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Date handling.

2005-04-14 Thread Paul Jackson
.. Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Yet another base64 patch

2005-04-14 Thread Paul Jackson
Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Merge with git-pasky II.

2005-04-13 Thread Paul Jackson
in it. I wish you well. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373, 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe git" i