git-testadd: Execute a command with only the staged changes in Git applied

2016-07-28 Thread Øyvind A . Holm
This is a script I created some weeks ago, and I've found it to be immensely useful. Here is a snippet from git-testadd --help: If you have lots of unrelated uncommitted changes in the current repository and want to split up the commit, how can you easily check if the changes passes the test

Re: git-testadd: Execute a command with only the staged changes in Git applied

2016-07-28 Thread Øyvind A . Holm
On 28 July 2016 at 18:37, Junio C Hamano wrote: > Øyvind A. Holm writes: > > This is a script I created some weeks ago, and I've found it to be > > immensely useful. Here is a snippet from git-testadd --help: > > > > If you have lots of unrelated un

Re: git-testadd: Execute a command with only the staged changes in Git applied

2016-07-28 Thread Øyvind A . Holm
On 28 July 2016 at 21:31, Jakub Narębski wrote: > W dniu 2016-07-28 o 18:56, Øyvind A. Holm pisze: > > Øyvind A. Holm writes: > > > This is a script I created some weeks ago, and I've found it to be > > > immensely useful. Here is a snippet from git-testadd

Re: git-testadd: Execute a command with only the staged changes in Git applied

2016-07-28 Thread Øyvind A . Holm
On 29 July 2016 at 00:38, Junio C Hamano wrote: > Øyvind A. Holm writes: > > Jakub Narębski wrote: > > > I wonder if using `git worktree` instead of `git clone` (well, > > > local clone uses hardlinks, so it is not that costly as it looks > > > like) would

Re: [PATCH 1/3] Documentation/stash: remove mention of git reset --hard

2017-01-21 Thread Øyvind A . Holm
modifications to a new 'stash', and revert the > + the changes in the working tree to match the index. The patch contains a duplicated "the". Regards, Øyvind +-| Øyvind A. Holm - N 60.37604° E 5.9° |-+ | OpenPGP: 0xFB0CBEE894A506E5 - http://www.sunbase.org/pubke

Re: [PATCH 6/7] Documentation: move dblatex arguments into variable

2017-01-21 Thread Øyvind A . Holm
n is in the wrong place, should be in front of (DBLATEX_COMMON). Regards, Øyvind +-| Øyvind A. Holm - N 60.37604° E 5.9° |-+ | OpenPGP: 0xFB0CBEE894A506E5 - http://www.sunbase.org/pubkey.asc | | Fingerprint: A006 05D6 E676 B319 55E2 E77E FB0C BEE8 94A5 06E5 | +

Re: [PATCH v2 7/7] Makefile: add a knob to enable the use of Asciidoctor

2017-01-22 Thread Øyvind A . Holm
d Asciidoctor with a standard "apt-get install asciidoctor", do I need to install more packages? The build is broken by patch #7 ("Makefile: add a knob to enable the use of Asciidoctor"), the other commits seems to work, though I haven't tested them all individually yet. St

Re: [PATCH v2 7/7] Makefile: add a knob to enable the use of Asciidoctor

2017-01-24 Thread Øyvind A . Holm
On 2017-01-23 04:09:17, brian m. carlson wrote: > On Mon, Jan 23, 2017 at 03:57:13AM +0100, Øyvind A. Holm wrote: > > On 2017-01-22 02:41:56, brian m. carlson wrote: > > > While Git has traditionally built its documentation using > > > AsciiDoc, some people wish to u

t5516-fetch-push.sh fails with current master (74301d6)

2015-10-20 Thread Øyvind A . Holm
When building from current master (74301d6, "Sync with maint", 2015-10-20), test #75 in t5516-fetch-push.sh fails: *** t5516-fetch-push.sh *** ok 1 - setup ok 2 - fetch without wildcard [Snip 70 lines] ok 73 - fetch exact SHA1 ok 74 - shallow fetch reachable SHA1 (but not a ref), allowtipsha1inwan

Re: t5516-fetch-push.sh fails with current master (74301d6)

2015-10-20 Thread Øyvind A . Holm
On 21 October 2015 at 03:40, Øyvind A. Holm wrote: > When building from current master (74301d6, "Sync with maint", > 2015-10-20), test #75 in t5516-fetch-push.sh fails If it's of any value, the contents from t/trash\ directory.t5516-fetch-push/ can be downloaded from &l

Re: t5516-fetch-push.sh fails with current master (74301d6)

2015-10-20 Thread Øyvind A . Holm
On 21 October 2015 at 04:01, Øyvind A. Holm wrote: > On 21 October 2015 at 03:40, Øyvind A. Holm wrote: > > When building from current master (74301d6, "Sync with maint", > > 2015-10-20), test #75 in t5516-fetch-push.sh fails Hm, seems as I'm unable to reproduce

Git just passed Subversion on openhub.net

2017-05-15 Thread Øyvind A . Holm
us: https://gitlab.com/sunny256/openhub-repositories/blob/master/status.txt SVG graphs are available on https://gitlab.com/sunny256/openhub-repositories/tree/master/graph Regards, Øyvind +-| Øyvind A. Holm - N 60.37604° E 5.9° |-+ | OpenPGP: 0xFB0CBEE894A506E5 - http://www.sunbase.org

[BUG] b9c8e7f2fb6e breaks git bisect visualize

2017-06-13 Thread Øyvind A . Holm
Commit b9c8e7f2fb6e ("prefix_ref_iterator: don't trim too much") breaks git bisect visualize, this reproduces the bug: $ git bisect start $ git bisect bad $ git bisect good HEAD^^ $ git bisect visualize fatal: BUG: attempt to trim too many characters $ Reverting b9c8e7f2fb6e makes gi

t1308-config-set.sh fails on current master

2017-06-13 Thread Øyvind A . Holm
t1308-config-set.sh fails on current master (v2.13.1-449-g02a2850ad58e). The error is introduced by commit e2d90fd1c33a ("config.mak.uname: set FREAD_READS_DIRECTORIES for Linux and FreeBSD"). Reverting the commit results in a conflict, but the test works on the commit before, 02912f477586. Te

Re: t1308-config-set.sh fails on current master

2017-06-13 Thread Øyvind A . Holm
Hi, Jonathan, thanks for having a look at this. On 2017-06-13 18:25:35, Jonathan Nieder wrote: > Øyvind A. Holm wrote: > > t1308-config-set.sh fails on current master > > (v2.13.1-449-g02a2850ad58e). The error is introduced by commit > > e2d90fd1c33a (&

Re: [PATCH] configure.ac: loosen FREAD_READS_DIRECTORIES test program

2017-06-14 Thread Øyvind A . Holm
On 2017-06-14 01:30:18, Jeff King wrote: > On Wed, Jun 14, 2017 at 01:15:44AM -0400, Jeff King wrote: > > Actually, I'm not sure if configure.ac is wrong, or the new uses of > > FREAD_READS_DIRECTORIES. Because the test configure.ac actually > > checks: > > Poking around more, I think the best th

Re: SHA1 collisions found

2017-02-23 Thread Øyvind A . Holm
se the alias fclone = clone -c "fetch.fsckObjects=false" So enabling them by default will create problems among users. Of course, one solution would be to turn these kind of errors into warnings so the clone isn't aborted. Reagards, Øyvind +-| Øyvind A. Holm - N 60.

Re: SHA1 collisions found

2017-02-24 Thread Øyvind A . Holm
k) the repository after the two files had been committed. I posted the results to the svn-dev mailing list, the thread is at <https://svn.haxx.se/dev/archive-2017-02/0142.shtml>. It seems as it only breaks the working copy because the pristine copies are identified with a SHA1 sum, bu

Re: Handling empty directories in Git

2014-04-11 Thread Øyvind A . Holm
On 8 April 2014 16:47, Olivier LE ROY wrote: > Hello, > > I have a project under SVN with contains empty directories. > > I would like to move this project on a Git server, still handling empty > directories. > > The solution: put a .gitignore file in each empty directory to have them > recogniz

Re: git fsck exit code?

2014-08-31 Thread Øyvind A . Holm
On 29 August 2014 22:18, David Turner wrote: > On Fri, 2014-08-29 at 12:21 -0700, Junio C Hamano wrote: > > Jeff King writes: > > > On Wed, Aug 27, 2014 at 06:10:12PM -0400, David Turner wrote: > > > > It looks like git fsck exits with 0 status even if there are > > > > some errors. The only case

[PATCH] wt-status.c: Expand cut_line so the scissor line is 72 chars

2014-08-31 Thread Øyvind A . Holm
Change the size of the commit scissor line to 72 characters (the recommended maximum line length in log messages) so it can be used as a visual clue in editors using monospaced fonts. Signed-off-by: Øyvind A. Holm --- Documentation/git-commit.txt | 2 +- t/t7502-commit.sh| 2 +- wt

Re: git fsck exit code?

2014-09-01 Thread Øyvind A . Holm
On 31 August 2014 20:54, Øyvind A. Holm wrote: > On 29 August 2014 22:18, David Turner wrote: > > error in tree 9f50addba2b4e9e928d9c6a7056bdf71b36fba90: contains > > duplicate file entries > > I don't think git fsck should return !0 in this case. Yes, it's an &

[PATCH] git-notes.txt: Explain how to transfer notes between repos

2014-09-10 Thread Øyvind A . Holm
The documentation for git notes did not mention anywhere how to transfer notes between repositories, create a section that explains this topic. Signed-off-by: Øyvind A. Holm --- Documentation/git-notes.txt | 39 +++ 1 file changed, 39 insertions(+) diff

[PATCH] RelNotes/2.0.0: Grammar and typo fixes

2014-05-03 Thread Øyvind A . Holm
Signed-off-by: Øyvind A. Holm --- Documentation/RelNotes/2.0.0.txt | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/RelNotes/2.0.0.txt b/Documentation/RelNotes/2.0.0.txt index e6911ac..35e353e 100644 --- a/Documentation/RelNotes/2.0.0.txt +++ b

Re: Show containing branches in log?

2014-07-03 Thread Øyvind A . Holm
On 2 July 2014 16:50, Robert Dailey wrote: > I know that with the `git branch` command I can determine which > branches contain a commit. Is there a way to represent this > graphically with `git log`? Sometimes I just have a commit, and I need > to find out what branch contains that commit. The re

t5150-request-pull.sh fails on newest master in Debian

2014-07-03 Thread Øyvind A . Holm
When compiling newest master (v2.0.1-472-g6f92e5f) on Debian 7.5 (64-bit), t5150-request-pull.sh fails when compiling with $ make configure $ ./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f $ make prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f $ make $ cd t $ ./t5150

Re: t5150-request-pull.sh fails on newest master in Debian

2014-07-03 Thread Øyvind A . Holm
On 3 July 2014 23:55, Øyvind A. Holm wrote: > When compiling newest master (v2.0.1-472-g6f92e5f) on Debian 7.5 > (64-bit), t5150-request-pull.sh fails when compiling with > > $ make configure > $ ./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f > $ make

Re: t5150-request-pull.sh fails on newest master in Debian

2014-07-03 Thread Øyvind A . Holm
On 4 July 2014 00:34, Øyvind A. Holm wrote: > On 4 July 2014 00:16, David Turner wrote: > > On Thu, 2014-07-03 at 23:55 +0200, Øyvind A. Holm wrote: > > > When compiling newest master (v2.0.1-472-g6f92e5f) on Debian 7.5 > > > (64-bit), t5150-request-pull.s

Re: t5150-request-pull.sh fails on newest master in Debian

2014-07-04 Thread Øyvind A . Holm
On 4 July 2014 22:22, David Turner wrote: > On Thu, 2014-07-03 at 23:55 +0200, Øyvind A. Holm wrote: > > When compiling newest master (v2.0.1-472-g6f92e5f) on Debian 7.5 > > (64-bit), t5150-request-pull.sh fails when compiling with > > > > $ make configure > >

Re: t5150-request-pull.sh fails on newest master in Debian

2014-07-05 Thread Øyvind A . Holm
On 5 July 2014 03:58, David Turner wrote: > On Sat, 2014-07-05 at 02:09 +0200, Øyvind A. Holm wrote: > > > The test works. Seems as there's something fishy about the use of > > --prefix in this specific commit (v2.0.1-472-g6f92e5f). > > Ok, now I can reproduce on my

Re: t5150-request-pull.sh fails on newest master in Debian

2014-07-08 Thread Øyvind A . Holm
On 3 July 2014 23:55, Øyvind A. Holm wrote: > When compiling newest master (v2.0.1-472-g6f92e5f) on Debian 7.5 > (64-bit), t5150-request-pull.sh fails when compiling with > > $ make configure > $ ./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f > $ make

Re: t5150-request-pull.sh fails on newest master in Debian

2014-07-09 Thread Øyvind A . Holm
On 9 July 2014 03:18, David Turner wrote: > On Wed, 2014-07-09 at 02:52 +0200, Øyvind A. Holm wrote: > > On 3 July 2014 23:55, Øyvind A. Holm wrote: > > > When compiling newest master (v2.0.1-472-g6f92e5f) on Debian 7.5 > > > (64-bit), t5150-request-pull.sh fails when

Re: [PATCH] refs.c: handle REFNAME_REFSPEC_PATTERN at end of page

2014-07-09 Thread Øyvind A . Holm
#x27;ve run the whole test suite with this patch applied, and it fixes the problem on 64-bit Debian 7.5. > I probably should add: > Reported-by: Øyvind A. Holm > > before your sign-off. Thanks. :) Cheers, Øyvind -- To unsubscribe from this list: send the line "un

[PATCH] .gitignore: Add git-verify-commit

2014-07-15 Thread Øyvind A . Holm
builtin/verify-commit.c was added in commit d07b00b ("verify-commit: scriptable commit signature verification", 2014-06-23), update .gitignore to ignore the generated file. Signed-off-by: Øyvind A. Holm --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/

Re: Tackling Git Limitations with Singular Large Line-seperated Plaintext files

2014-08-10 Thread Øyvind A . Holm
On 30 June 2014 14:56, Jakub Narębski wrote: > Linus Torvalds wrote: > > .. even there, there's another issue. With enough memory, the diff > > itself should be fairly reasonable to do, but we do not have any > > sane *format* for diffing those kinds of things. > > > > The regular textual diff is

VCS popularity

2015-03-31 Thread Øyvind A . Holm
openhub.net (formerly ohloh.net) has an interesting comparison of the number of public repositories on the net, based on searches of popular hosting services. This comparison is available at and shows an estimated market share between Bazaar, CVS, Git,

Re: VCS popularity

2015-03-31 Thread Øyvind A . Holm
On 1 April 2015 at 00:03, David Lang wrote: > On Tue, 31 Mar 2015, Øyvind A. Holm wrote: > > openhub.net (formerly ohloh.net) has an interesting comparison of > > the number of public repositories on the net, based on searches of > > popular hosting services. This compa

Re: VCS popularity

2015-03-31 Thread Øyvind A . Holm
On 1 April 2015 at 00:20, Junio C Hamano wrote: > Øyvind A. Holm writes: > > The graphs are pretty interesting: > > > > https://github.com/sunny256/openhub-repositories/blob/master/graph/relative.svg > > Graphs of relative growth between the various version control

Re: What's cooking in git.git (Apr 2013, #05; Mon, 15)

2013-04-15 Thread Øyvind A . Holm
On 16 April 2013 01:25, Jeff King wrote: > On Mon, Apr 15, 2013 at 01:28:53PM -0700, Junio C Hamano wrote: > > [Graduated to "master"] > > [...] > > * jk/http-error-messages (2013-04-06) 9 commits > > (merged to 'next' on 2013-04-11 at 7a03981) > > [...] > > ...the tip of your current master doe

10000 tests

2013-04-20 Thread Øyvind A . Holm
So this showed up after running the test suite of current master at v1.8.2.1-501-gd2949c7: fixed 0 success 9838 failed 0 broken 83 total 1 Ten thousand tests is worth celebrating. Congratulations! :) Regards, Øyvind -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] configure.ac: Add missing comma to CC_LD_DYNPATH

2012-10-09 Thread Øyvind A . Holm
From: "Øyvind A. Holm" 40bfbde ("build: don't duplicate substitution of make variables", 2012-09-11) breaks make by removing a necessary comma at the end of "CC_LD_DYNPATH=-rpath" in line 414. When executing "./configure --with-zlib=PATH",

[PATCH] configure.ac: Add missing comma to CC_LD_DYNPATH

2012-10-09 Thread Øyvind A . Holm
From: "Øyvind A. Holm" 40bfbde ("build: don't duplicate substitution of make variables", 2012-09-11) breaks make by removing a necessary comma at the end of "CC_LD_DYNPATH=-rpath" in line 414 and 423. When executing "./configure --with-zlib=PATH",

Re: [PATCH] configure.ac: Add missing comma to CC_LD_DYNPATH

2012-10-09 Thread Øyvind A . Holm
Please discard the first patch, I reckon line 423 also should be changed. Sorry about the noise, Øyvind -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] configure.ac: Add missing comma to CC_LD_DYNPATH

2012-10-09 Thread Øyvind A . Holm
On 9 October 2012 19:05, Junio C Hamano wrote: > Øyvind A. Holm writes: > > 40bfbde ("build: don't duplicate substitution of make variables", > > 2012-09-11) breaks make by removing a necessary comma at the end of > > "CC_LD_DYNPATH=-rpath" in line