git mailing list

FromSubjectsort iconDate
Paul Serice
Re: [RFC] Run hooks with a cleaner environment
I'd like to second this. I've been bitten by two of the three issues If there is a controlling terminal and nothing else git-related is reading from it, I'd like for stdout and stderr to be reconnected. Paul Serice -
Dec 6, 5:19 pm 2005
Junio C Hamano
Re: [RFC] Run hooks with a cleaner environment
That is done by receive-pack; it chdir()s into the repository and does its thing, and the hooks are called from there; I'd expect cwd to be the repository ('.git'), GIT_DIR to be dot ('.'). I think doing the "unset GIT_DIR" to be the first thing if you want to access some other repository is documented somewhere but if not please send a patch to document it. As to file descriptors, I think duping the output to original stderr might make sense, but I do not know what breaks, so interested ...
Dec 6, 5:39 pm 2005
Daniel Barkalow
[RFC] Run hooks with a cleaner environment
Currently, hooks/post-update is run in the environment that receive-pack is run. This means that there are a number of things that are unpredictable. I'd like to make it set things up in a more predictable and useful way. The things I know are odd: stdout and stdin are connected to send-pack, either by broken pipes (for local pushes) or an ignored socket (via ssh). stdin should probably be /dev/null, and stdout should be either a log file or /dev/null. stderr is still the push's stderr, ...
Dec 6, 3:43 pm 2005
Jason Riedy
Re: [PATCH] Use printf rather than echo -n.
And Junio C Hamano writes: - Perhaps printf '%s' "$blah" to futureproof, instead of just - saying printf "$blah"? Definitely more likely to stay correct. I'm just lazy. - <rant mode on> - While I do not have anything aginst system without "sane" echo, - I really do not like it. Not your solution, but *having to do* - something like that. Um, you think the wrong one is sane. ;) Why should echo in Bourne shell take C-shell arguments? (I blame AT&T for their crappy ...
Dec 6, 8:31 pm 2005
Junio C Hamano
Re: [PATCH] Use printf rather than echo -n.
Hmmmmmmmmmmmmmmmmmmmmmmmm. Perhaps printf '%s' "$blah" to futureproof, instead of just saying printf "$blah"? <rant mode on> While I do not have anything aginst system without "sane" echo, I really do not like it. Not your solution, but *having to do* something like that. metaconfig Configure does "echo $n frotz $c" with n=-n or c=\\c set appropriately; autoconf does the same with $ac_n $ac_c. IIRC, I think ancient autoconf did "echo | tr -d '\012'". These are far worse than a ...
Dec 6, 7:04 pm 2005
Jason Riedy
[PATCH] Use printf rather than echo -n.
On AIX, there is no -n option to the system's echo. Instead, it needs the '\c' control character. We could replace echo -n "foo" with echo -e "foo\c" but printf is recommended by most man pages. Tested on AIX 5.3, Solaris 8, and Debian. Signed-off-by: E. Jason Riedy <ejr@cs.berkeley.edu> --- git-am.sh | 2 +- git-applypatch.sh | 2 +- git-bisect.sh | 2 +- git-status.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 ...
Dec 6, 3:21 pm 2005
Johannes Schindelin
Re: [PATCH] Initial AIX portability fixes.
Hi, Why not enclose the #define in #ifndef/#endif, and do the real magic in the Makefile? Within the AIX clause: ALL_CFLAGS += -D_XOPEN_SOURCE=500 -XOPEN_SOURCE_EXTENDED=1 This way the source does not get cluttered with platform dependent defines. Hth, Dscho -
Dec 6, 4:58 pm 2005
Junio C Hamano
Re: [PATCH] Initial AIX portability fixes.
True but the original convert-objects.c defines _XOPEN_SOURCE on all platforms not just AIX. -
Dec 6, 5:08 pm 2005
Jason Riedy
Re: [PATCH] Initial AIX portability fixes.
And Johannes Schindelin writes: - Why not enclose the #define in #ifndef/#endif, and do the real magic in - the Makefile? Within the AIX clause: - ALL_CFLAGS += -D_XOPEN_SOURCE=500 -XOPEN_SOURCE_EXTENDED=1 Because other files do _not_ compile when given those options. I'm going for minimal changes to the existing structure; the #define for glibc2 has been there a long, long time. Yes, it probably can be done better, but these are 1.0rc versions... Jason -
Dec 6, 5:07 pm 2005
Junio C Hamano
Re: [PATCH] Initial AIX portability fixes.
I agree with your approach of least impact for now. Thanks. -
Dec 6, 5:12 pm 2005
Jason Riedy
[PATCH] Initial AIX portability fixes.
Added an AIX clause in the Makefile; that clause likely will be wrong for any AIX pre-5.2, but I can only test on 5.3. mailinfo.c was missing the compat header file, and convert-objects.c needs to define a specific _XOPEN_SOURCE as well as _XOPEN_SOURCE_EXTENDED. Signed-off-by: E. Jason Riedy <ejr@cs.berkeley.edu> --- Makefile | 4 ++++ convert-objects.c | 3 ++- mailinfo.c | 1 + 3 files changed, 7 insertions(+), 1 ...
Dec 6, 3:20 pm 2005
Nikolai Weibull
A list of things missing or wrong in the documentation
Here's a list of things that are missing, wrong, or badly formatted in the documentation (all checked against the man pages): git-checkout-index: SYNOPSIS: --index --quiet --force --all --no-create (How do we put these in the SYNOPSIS?) (My bad, forgot to mention this in an earlier patch.) git-read-tree: --trivial SYNOPSIS: ...
Dec 6, 3:12 pm 2005
Morten Welinder
Re: type_size_sort
That is not what the part of the standard I quoted says. It very clearly forbids the sorting function from depending on the pointers' values. I can even see an implementation actually using this requirement. And it is well known that some qsort implementations will do nasty things if the sorting order is not consistent. I've seen Perl core dumps on that account, although that is a while ago. M. -
Dec 6, 5:51 pm 2005
Junio C Hamano
Re: type_size_sort
Then something like this? --- diff --git a/pack-objects.c b/pack-objects.c index a62c9f8..c27fee5 100644 --- a/pack-objects.c +++ b/pack-objects.c @@ -296,7 +296,7 @@ static int type_size_sort(const struct o return -1; if (a->size > b->size) return 1; - return a < b ? -1 : (a > b); + return memcmp(a->sha1, b->sha1, 20); } struct unpacked { -
Dec 6, 2:45 pm 2005
Morten Welinder
type_size_sort
static int type_size_sort(const struct object_entry *a, const struct object_entry *b) { ... return a < b ? -1 : (a > b); } This does not look valid. the standard says you must not depend on the location: [#4] When the same objects (consisting of size bytes, irrespective of their current positions in the array) are passed more than once to the comparison function, the results shall be consistent with one another. That is, for ...
Dec 6, 2:19 pm 2005
Andreas Ericsson
Re: type_size_sort
It's perfectly correct. If the same list was to be passed to create_sorted_list() twice it will come out exactly the same the second time as it did the first. The only thing to remark on is that the return above could be written as below instead: return a - b; -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -
Dec 6, 2:38 pm 2005
Junio C Hamano
Re: type_size_sort
And I suspect Morten would say the same thing about ptrdiff_t could be larger than an int. I personally feel this would not make any practical difference on sane architectures either way, though.. -
Dec 6, 2:46 pm 2005
Morten Welinder
Re: type_size_sort
Ah, right you are. Mildly relatedly, notice that a<b can be valid when a-b<0 is not. ptrdiff_t is not required to be big enough to hold the difference! (A highly dubious part of the C standard.) M. -
Dec 6, 8:01 pm 2005
Junio C Hamano
Re: type_size_sort
What you say is correct, and people should be careful when using qsort(), but it does not apply to this case. The patch I posted is not necessary. Andreas' rewrite quoted above, however, is invalid when ptrdiff_t (a-b) overflows int range. The code as written by Linus back on June 25 is correct, but that sort callchain is written in an unusual way to confuse us (you were, and I was initially after seeing your message). (1) The caller look like this. It prepares an array of pointers ...
Dec 6, 7:28 pm 2005
Petr Baudis
Re: ssh removed?
Dear diary, on Tue, Dec 06, 2005 at 10:19:18PM CET, I got a letter Quite on the contrary, your GIT is too old - at least 0.99.9 is required as noted in the INSTALL file. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't. -
Dec 6, 4:29 pm 2005
Nico -telmich- Schot ...
ssh removed?
Moin! Did somebody remove git+ssh in git? If I search for ssh in cg-log in the git source I do not see any hint. But I see that when trying to use it: [22:15] hydrogenium:ccollect.sh% git-init-db defaulting to local storage area [22:15] hydrogenium:ccollect.sh% cg-branch-add creme git+ssh://creme.schott= elius.org/home/server/git/cLinux/ccollect.git [22:15] hydrogenium:ccollect.sh% cg-fetch creme Fetching pack (head and objects)... fatal: I don't handle protocol 'git+ssh' cg-fetch: ...
Dec 6, 2:19 pm 2005
Jon Loeliger
Re: [BUG] ProgramError: merge ... .merge_file_4CPoEQ: No ...
Oh wow. Exactly correct. Here's Jon building up the new Ubuntu box, and thinking, "I'll be using git, so I don't need to install RCS or CVS anymore." :-) After installing RCS, here's what we get: jdl@ubuntu:/usr/src/git-core$ git reset --hard jdl jdl@ubuntu:/usr/src/git-core$ git pull . origin Trying really trivial in-index merge... fatal: Merge requires file-level merging Nope. Merging HEAD with be61db922a230ae2638c27c071ee4b8c98f01f72 Merging: ...
Dec 6, 9:47 am 2005
Junio C Hamano
Re: [BUG] ProgramError: merge ... .merge_file_4CPoEQ: No ...
Thanks. I actually saw this myself yesterday. I have this strange feeling that you do not have "merge" installed on your cygwin box. It is part of "rcs". -
Dec 6, 9:51 am 2005
Jon Loeliger
[BUG] ProgramError: merge ... .merge_file_4CPoEQ: No such file
So, I was surprised by this display this morning. (I swear I'm trying to help! :-) I grabbed new (7:30 CST Dec 6) top-of-git, built and installed it. I then "git checkout jdl" and "git pull . origin" to bring my branch up to date. It looked like this just before the pull into branch "jdl": jdl@ubuntu:/usr/src/git-core$ git show-branch jdl master origin * [jdl] Added documentation for few missing options. ! [master] git-merge-one-file: resurrect leading path creation. ! [origin] ...
Dec 6, 7:03 am 2005
Fredrik Kuivinen
Re: [BUG] ProgramError: merge ... .merge_file_4CPoEQ: No ...
It seems that changes has been committed to Documentation/git-read-tree.txt in both the jdl branch and in origin. This shouldn't cause any problems but git-merge-recursive (which currently is the default merge strategy) uses merge(1) to do the file-level merging and it seems like merge(1) can't be found on your system. Do you have merge(1) installed? More appropriately, is merge in your path? If it isn't installed it can usually be found in the rcs package in your distribution. - ...
Dec 6, 9:33 am 2005
Tim O'Callaghan
Re: Cygwin test failure in t6021-merge-criss-cross.sh
Duly noted. Tim. "I've worked myself up from nothing to a state of supreme poverty." -- Groucho Marx -
Dec 6, 10:10 am 2005
Junio C Hamano
Re: Cygwin test failure in t6021-merge-criss-cross.sh
I have this strange feeling that you do not have "merge" installed on your cygwin box. It is part of "rcs". When you see a test failure, it sometimes useful to try running: $ cd t $ sh ./t6021-*.sh -i -v manually. -
Dec 6, 9:51 am 2005
Tim O'Callaghan
Cygwin test failure in t6021-merge-criss-cross.sh
I tried build-testing the latest version of git, and the tests reported this error: --------- *** t6021-merge-criss-cross.sh *** * FAIL 1: prepare repository echo "1 2 3 4 5 6 7 8 9" > file && git add file && git commit -m "Initial commit" file && git branch A && git branch B && git checkout A && echo "1 2 3 4 5 6 ...
Dec 6, 5:40 am 2005
Junio C Hamano
Re: Some Documentation/Usage Notes
The subtlety is that it is the only parameter to the coreish command set that happily named a file outside the project directory (i.e. you can say "git-hash-object /etc/passwd" but you cannot say "git-update-index /etc/passwd" --- even if your repository is at /.git, you would say "git-update-index etc/passwd" for that). But you are right. That distinction is irrelevant. -
Dec 5, 11:11 pm 2005
Jon Loeliger
Some Documentation/Usage Notes
Note to $self -- here are some tidbits ToDo: o --help doesn't work on: git-hash-object git-init-db git-write-tree o There is an odd <any-file-on-the-filesystem> argment named in the git-hash-object documentation. Would <file> be better and more consistent? Or is there some subtlety that I am missing? o Someone might want to check my --template=<dir> description on git-init-db, or make it clearer. o Work towards moving uniform description of all ...
Dec 5, 10:21 pm 2005
Junio C Hamano
Re: Some Documentation/Usage Notes
Something like this? -- >8 -- [PATCH] misc fixes. - It was cumbersome to feed hash-object the file '-t' (you could have said "./-t", though). Teach it '--' that terminates the option list, like everybody else. There is no way to extract usage string from the command either, so teach it "--help" as well. - "git-init-db junk" does not complain but just ignores "junk". Die with the usage string in such a case. - "git-write-tree junk" complains and dies, but it does ...
Dec 5, 11:25 pm 2005
Jon Loeliger
[PATCH] Added documentation for few missing options.
More $ shell prompts in examples. Minor English grammar improvements. Added a few "See Also"s. Use back-ticks on more command examples. Signed-off-by: Jon Loeliger <jdl@freescale.com> --- Documentation/git-checkout-index.txt | 78 +++++++++++++++++++++------------- Documentation/git-init-db.txt | 27 ++++++++++-- Documentation/git-prune-packed.txt | 11 +++-- Documentation/git-read-tree.txt | 74 ++++++++++++++++++-------------- Documentation/git-update-index.txt ...
Dec 5, 10:13 pm 2005
Junio C Hamano
Re: [PATCH] Added documentation for few missing options.
Thanks. You deserve to add your own name to the Documentation section ;-). These days, "git-checkout-index -n -u -f -a" may a preferred The above paragraph is way out of date, as of beginning of June 2005. The current merge-one-file does smudge the working tree during the merge. I'll rewrite it. -
Dec 5, 11:10 pm 2005
Junio C Hamano
Re: [PATCH] Add compat/setenv.c, use in git.c.
Are you suggesting it to be done like this? --- git diff diff --git a/object.c b/object.c index 427e14c..dac5c92 100644 --- a/object.c +++ b/object.c @@ -82,7 +82,12 @@ static int compare_object_pointers(const { const struct object * const *pa = a; const struct object * const *pb = b; - return *pa - *pb; + if (*pa == *pb) + return 0; + else if (*pa < *pb) + return -1; + else + return 1; } void set_object_refs(struct object *obj, struct object_refs *refs) -
Dec 6, 2:41 pm 2005
Morten Welinder
Re: [PATCH] Add compat/setenv.c, use in git.c.
The code looks wrong. It assumes that pointers are no larger than ints. If pointers are larger than ints, the code does not necessarily compute a consistent ordering and qsort is allowed to do whatever it wants. Morten static int compare_object_pointers(const void *a, const void *b) { const struct object * const *pa = a; const struct object * const *pb = b; return *pa - *pb; } -
Dec 6, 2:10 pm 2005
Jason Riedy
Re: [PATCH] Add compat/setenv.c, use in git.c.
And Junio C Hamano writes: - I'd like to throw in another Makefile patch to catch both 5.8 and - 5.9 for this, but would appreciate if people with various vintage - of Solaris boxes can give some inputs before doing that. Anyone else seeing the qsort in object.c trash memory? The input _looks_ correct. I only see this on Solaris (8), but I've never had a problem with qsort there. I think we have a Solaris 9 box around here somewhere, but probably only partially 9. The admins here ...
Dec 6, 12:59 pm 2005
Jason Riedy
Re: [PATCH] Add compat/setenv.c, use in git.c.
And Morten Welinder writes: - The code looks wrong. It assumes that pointers are no larger than ints. The failure's in 32-bit mode, so they _are_ the same size. The difference is no more than 0x80 in the tests. But you're right; the result is implementation defined in C99. And Junio C Hamano writes: - Are you suggesting it to be done like this? Your change fixed it. Oddly enough, using arithmetic in ptrdiff_t then testing against zero didn't... I don't have time to dig through ...
Dec 6, 3:18 pm 2005
Morten Welinder
Re: [PATCH] Add compat/setenv.c, use in git.c.
> Are you suggesting it to be done like this? Precisely. Morten -
Dec 6, 5:58 pm 2005
Petr Baudis
Re: [PATCH] Clean up compatibility definitions.
Dear diary, on Tue, Dec 06, 2005 at 04:17:58AM CET, I got a letter Then perhaps the .h file should be split? At least the "compat-util" name did not suggest combination to me, but specialization (not "compatibility and utils" but "compatibility utils"). -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't. -
Dec 6, 2:53 am 2005
Mike McCormack
Re: Wine + GIT
Using the git-* commands means that tab completion works, which is good for impatient people with bad memories, like myself :) Mike -
Dec 6, 12:06 pm 2005
Junio C Hamano
Re: Wine + GIT
For now, but to futureproof your document and its readers, it is better spelled as "git frotz" not "git-frotz". There is a long time-horizon plan to move most of the things out of /usr/bin/, and codewise we have the infrastructure to do it today. The only reason we haven't done so is that it would break scripts written by people who learned git from documents that tell them to write things in dash form, "git-diff". -
Dec 6, 10:33 am 2005
Jeff Garzik
Re: Wine + GIT
The specific git-diff-XXX command example was longer. In general, there is not much difference, except that I was admonished to avoid the git-XXX in my howto. I suppose that makes sense if the git-XXX programs are moved out of $prefix/bin, leaving only $prefix/bin/git. Jeff -
Dec 6, 12:01 pm 2005
Marco Costalba
Re: Wine + GIT
about "Finally, there's a nice (but a bit slow) tool to view your GIT repository named [WWW] gitk. It gives you a view of the repository that looks like this:" May I sugest also qgit (http://sourceforge.net/projects/qgit). It's faster then gitk and has some more feature too. Thanks Marco ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it -
Dec 6, 2:02 am 2005
Andreas Ericsson
Re: Wine + GIT
When you clone you need to get all the objects. If the objects aren't packed on the remote end (which is usually the case), the git protocol will pack them for you which takes quite some time for a large repo and puts the server under considerable stress. When you pull incrementally the native git protocol does some figuring In general, rsync:// should be the fastest protocol to clone over. Why you got the numbers listed above I have no idea, but I'm guessing the rsync daemon ...
Dec 6, 4:27 pm 2005
Andreas Ericsson
git shorthands (was: Re: Wine + GIT)
I think it's overkill. It would be better, methinks, to add mnemonic-ish shorthands for the porcelainish commands, so that git fp => git-format-patch git co => git-checkout git up => git-update-index git octo => git-merge-octopus git fsck => git-fsck-objects git hash => git-hash-object and so on... This because non-ambiguous is rarely logical (for git at least, which has 'git-<family>-<action | object-type>) unless one knows the entire command anyways. Ambiguity may ...
Dec 6, 2:22 pm 2005
J. Bruce Fields
Re: Wine + GIT
How does e.g. git-diff differ from git diff? I thought they were equivalent.--b. -
Dec 6, 10:08 am 2005
J. Bruce Fields
Re: Wine + GIT
I've enjoyed getting tab completions without having to add whatever's required to my .bashrc to teach it about git subcommands. Oh well, I'll get over it. I suppose the git-subcommand convention will continue for the purpose of naming manpages? --b. -
Dec 6, 10:39 am 2005
Nick Hengeveld
Re: Wine + GIT
Has that been the general git user experience? While there are certainly disadvantages to the http transport, I didn't think that performance was one of them. For comparison, I ran some clones this morning/afternoon with the following results: Clone of kernel.org/pub/scm/git/git.git http real 0m24.204s real 0m25.750s real 0m24.094s user 0m5.870s user 0m5.530s user 0m5.350s sys 0m0.660s sys 0m0.710s sys ...
Dec 6, 4:08 pm 2005
Jon Loeliger
Re: Wine + GIT
I believe this effort is already well under way. Uh, I also thought we were going to place it in some "contrib" directory too...? Also, before I learned of that bash completion effort, I was contemplating modifying the git.c command recognition so that it effectively did this: cmd = ... whatever from command line if (exec(cmd)) works then happily clean up and exit else using the existing directory scan as a new function, determine if "cmd" is a proper ...
Dec 6, 10:53 am 2005
Ben Clifford
Re: Wine + GIT
The (latest as of now) code for cogito is in cogito's contrib/ directory. You can get stg,cogito,git,gitk completion code from my repo with: cg clone http://www.hawaga.org.uk/gitcompletion.git (I posted a note about it the other day on this git list, entitled 'bash completions code for git+porcelain) -- Ben • ベン • Бэн • 벤 • 班明 http://www.hawaga.org.uk/ben/ My email is high latency but best way to contact me. Alternatively, SMS number(s) at above URL. -
Dec 6, 5:56 pm 2005
Alex Riesen
Re: [PATCH] Clean up compatibility definitions.
The patch works on cygwin. I let the tests run, too. -
Dec 6, 12:35 am 2005
Junio C Hamano
Re: [PATCH] Clean up compatibility definitions.
Ah, that is what you meant. I agree. -
Dec 6, 12:31 am 2005
Alex Riesen
Re: [PATCH] Clean up compatibility definitions.
Do not depend nor use anything from the calling code (do not take anything from git). If it has to serve as compatibility wrapper to mmap, it better should be mmap(2): return MAP_FAILED if error, do not exit process, do no output. I wouldn't expect open(2) to print "File not found", would you? Besides, MAP_FAILED is perfectly handled in calling layers. If they even print out errno, the case is completely covered and simplier handled. -
Dec 6, 12:15 am 2005
Junio C Hamano
Re: [PATCH] Clean up compatibility definitions.
Thanks. I've had a chance to try the one in the "master" branch on cygwin myself today and it seemed to work OK. I did a partial build on Solaris 5.9 as well. -
Dec 6, 12:58 am 2005
Alex Riesen
Re: [PATCH] Clean up compatibility definitions.
now, while we agree, how about the patch removing "user interface" from gitfakemmap altogether? The patch is not really tested (running tests is not useful in this case), but I looked over the call sites, and they seem either to handle mmap's or the previous open's return values. One exception is in config.c where neither is handled, the code will race between stat and open. Signed-off-by: Alex Riesen <fork0@gmail.com>
Dec 6, 1:07 am 2005
Junio C Hamano
Re: [PATCH] Clean up compatibility definitions.
I've considered this one after hearing what you meant by your previous comment, but I am slightly in favor of keeping this die(); what would trigger this is a programmer error, and the extra error message from die() makes it obvious, although I agree that it is unclean from purist point of view. This one I'd agree with 100%. -
Dec 6, 1:11 am 2005
Alex Riesen
Re: make gitfakemmap standalone to fix linking error in git.c
Oh, yes. Sorry. Too much sorries recently :( -
Dec 6, 12:49 am 2005
Junio C Hamano
Re: announce: git browser
By the way, by "fun" I do not mean "joke" at all. You earlier said such newsgroups cannot be distributed, but I would say why not. They will be moderated groups and patches will go to the "moderator" who applies the patches to the branches. Reading such a newsgroup would be like going through "commitdiff" link on gitweb one commit after another, but is more efficient and would match the workflow of people who review lots of patches on mailing lists. -
Dec 6, 2:09 am 2005
Junio C Hamano
Re: announce: git browser
Actually, the real reason was I was stupid (I am always stupid but I was more stupid than I usually am in this case). We could just inject new patches into appropriate newsgroups as they come along, either from a cron job or from the post-update hook. -
Dec 6, 1:23 pm 2005
Artem Khodush
Re: announce: git browser
And then, it could be taught to apply posted patches, which could be even more fun.. :-) -
Dec 6, 1:56 am 2005
Artem Khodush
Re: announce: git browser
> I think there are at least two web interfaces already I'll see if I can do something with Perl and Net::NNTP.. -
Dec 6, 12:31 am 2005
Junio C Hamano
Re: announce: git browser
"Ask and it shall be given you" ;-) In case it was not obvious, I was talking about an NNTP server, not a client. You would probably have to keep a mapping between sequence number and commit object name in each "newsgroup", which is the only nontrivial part. -
Dec 6, 12:45 am 2005
Junio C Hamano Dec 6, 1:19 am 2005
Artem Khodush
Re: announce: git browser
Yes, I see that for day-to-day development the gitk view is optimal. I'll see if I can do something similar, but web-based. Artem. -
Dec 5, 11:40 pm 2005
Junio C Hamano
Re: announce: git browser
I think there are at least two web interfaces already and this is the third one with an interesting "twist". Javascript drawing is cute. This is not to discourage yet another web based one, but I wish there were an NNTP interface, that feeds each repository/branch as a newsgroup and each commit as if it is "git-format-patch" output, with References: pointing at its parent commit "articles". A merge commit would probably become a multipart with usually 2 attachments (but N attachments for ...
Dec 5, 11:53 pm 2005
Artem Khodush
Re: announce: git browser
And the reason why special NNTP server is needed is, I guess, that plain NNTP server will not be able to cope with all the diffs stored in message database? Well, but then, the newsgroups will not be distributable.. Or is there any other reason? -
Dec 6, 1:13 am 2005
Paul Mackerras
Re: gitk - ewww
I'm working on changes which should fix this and also speed it up, but it's not trivial... :) Paul. -
Dec 6, 3:54 pm 2005
previous daytodaynext day
December 5, 2005December 6, 2005December 5, 2005