{"thread":{"id":"1626","subject":"Current status toward 0.99.5 and beyond","startedAt":"2005-08-23T17:14:47Z","lastAt":"2005-08-23T17:31:41Z","messageCount":2,"participants":["Junio C Hamano","Linus Torvalds"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"7655","messageId":"7vmzn8poc8.fsf@assigned-by-dhcp.cox.net","threadId":"1626","inReplyTo":null,"subject":"Current status toward 0.99.5 and beyond","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-08-23T17:14:47Z","receivedAt":"2005-08-23T17:14:47Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Some people may have noticed that the progress of the master\nbranch head has somewhat slowed down lately, and I have kept\nsome changes in the proposed updates branch for quite some time.\n\nThere are two reasons for this.  One is that I've been quite\nbusy during my day job hours, and haven't had enough time to\nmake sure the multi-head fetch stuff does not break things and\nthe way it works is reasonable.  Another is that I am feeling\nguilty about letting Documentation go stale, and am reluctant to\nhave what is in the proposed updates branch graduate to the\nmaster branch without accompanying documentation.  Maybe I'll\nhave some time on my next GIT day [*1*].\n\nAnyway, here is my updated Itchlist, as a preview of what comes\nnext.\n\nFor 0.99.5, I would like to finish testing and documenting what\nis currently in the proposed updates branch.  There are two\nchanges there: multi-head fetch and $GIT_DIR/remotes/ that\nsomewhat deprecates $GIT_DIR/branches/; semantics cleanup of\n\"git reset\" command.\n\nLinus has been feeding updates to make various commands to be\ncapable of running from subdirectories and taking paths relative\nto the current directory.  I would have liked these patches with\ntest scripts to demonstrate they do what they claim to do well.\nPatches to extend existing test scripts in t/ directory are very\nmuch welcomed.  So far, the following commands should be usable\nwith relative directory paths:\n\n    update-cache\n    ls-files\n    diff-files\n    diff-cache\n    diff-tree\n\n\nI do not have major itch after 0.99.5 right now, except for\nobvious fixes and tweaks here and there [*2*].  I think we would\nconcentrate a bit more on usability enhancement including the\ntutorial updates.  One code change I would like to see is to add\nlimited MIME support to applymbox suite.  We should be able to\nteach mailinfo to:\n\n  - detect B encoding in the mail headers, and translate it to UTF-8;\n\n  - understand a single level multipart and pick out the body of\n    the message;\n\n  - detect QP in the body and decode into the original charset;\n\n  - after splitting the body into commit log and patch, translate only\n    the commit log part into UTF-8.\n\n\n[Footnote]\n\n*1* Currently, my Wednesdays and Saturdays are for GIT only.\n\n*2* Here is a list of minor itches:\n\n * \"git rebase\" could be a bit more tolerant to conflicting\n   patches.  We may want to \"wiggle\" it, or may want to run\n   3-way \"merge\".\n\n * The semantics of rev-parse needs to be clarified.\n\n * show-branch may want to show things in topological order, not\n   time-based order.\n\n * There are commands that were well intentioned but not useful\n   in practice, like build-rev-cache.  I would like to review\n   them for removal.\n\n * Cloning a packed repository over HTTP should work natively\n   now.  Update \"git clone\" and remove \"git-clone-dumb-http\".\n \n"},{"id":"7656","messageId":"Pine.LNX.4.58.0508231022340.3317@g5.osdl.org","threadId":"1626","inReplyTo":"7vmzn8poc8.fsf@assigned-by-dhcp.cox.net","subject":"Re: Current status toward 0.99.5 and beyond","fromName":"Linus Torvalds","fromEmail":"torvalds@osdl.org","sentAt":"2005-08-23T17:31:41Z","receivedAt":"2005-08-23T17:31:41Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Tue, 23 Aug 2005, Junio C Hamano wrote:\n>\n> So far, the following commands should be usable with relative directory\n> paths:\n> \n>     update-cache\n>     ls-files\n>     diff-files\n>     diff-cache\n>     diff-tree\n\nAlso, git-rev-parse.\n\nFinally, this trivial patch makes \"git-rev-list\" also able to handle not\nbeing in the top-level directory, which makes it possible to do \"git log\" \nand \"git-whatchanged\" at any point in the directory structure.\n\n\t\t\tLinus\n\n---\nSubject: Make \"git-rev-list\" work within subdirectories\n\nThis trivial patch makes \"\"git-rev-list\" able to handle not being in the\ntop-level directory. This magically also makes \"git-whatchanged\" do the \nright thing.\n\nTrivial scripting fix to make sure that \"git log\" also works.\n\nSigned-off-by: Linus Torvalds <torvalds@osdl.org>\n---\ndiff --git a/git-log-script b/git-log-script\n--- a/git-log-script\n+++ b/git-log-script\n@@ -1,5 +1,4 @@\n #!/bin/sh\n-. git-sh-setup-script || die \"Not a git archive\"\n-revs=$(git-rev-parse --revs-only --default HEAD \"$@\")\n+revs=$(git-rev-parse --revs-only --default HEAD \"$@\") || exit\n [ \"$revs\" ] || die \"No HEAD ref\"\n git-rev-list --pretty $(git-rev-parse --default HEAD \"$@\") | LESS=-S ${PAGER:-less}\ndiff --git a/rev-list.c b/rev-list.c\n--- a/rev-list.c\n+++ b/rev-list.c\n@@ -481,6 +481,7 @@ static void handle_one_commit(struct com\n int main(int argc, char **argv)\n {\n \tstruct commit_list *list = NULL;\n+\tconst char *prefix = setup_git_directory();\n \tint i, limited = 0;\n \n \tfor (i = 1 ; i < argc; i++) {\n"}]}