[PATCH/RFC] Add test_repo_expect_success for running tests in a new repository

2015-09-19 Thread Nguyễn Thái Ngọc Duy
This could be convenient when tests are independent from the rest in the same file. Normally we would do this test_expect_success '...' ' git init foo && ( cd foo &&

[PATCH v2 1/3] Documentation: use 'keyid' consistently, not 'key-id'

2015-09-19 Thread Matthieu Moy
Signed-off-by: Matthieu Moy --- Documentation/git-cherry-pick.txt | 6 +++--- Documentation/git-commit.txt | 2 +- Documentation/git-merge.txt | 2 +- Documentation/git-revert.txt | 6 +++--- Documentation/git-tag.txt | 18 +- 5

[PATCH v2 3/3] Documentation: explain optional arguments better

2015-09-19 Thread Matthieu Moy
Improve the documentation of commands taking optional arguments in two ways: * Documents the behavior of '-O' (for grep) and '-S' (for commands creating commits) when used without the optional argument. * Document the syntax of these options. For the second point, the behavior is documented

[PATCH v2 0/3] Clarify the documentation of options with optional arguments

2015-09-19 Thread Matthieu Moy
Changes since v2: * Typo in commit message * key-id -> keyid in more places. Not so important, but we had cases where SYNOPSYS was saying key-id and the full doc keyid, let's make it more uniform (and more grep-able). * Document what --sign-commit and --open-in-pager do when the optional

[PATCH v2 2/3] Documentation/grep: fix documentation of -O

2015-09-19 Thread Matthieu Moy
Since the argument of -O, --open-file-in-pager is optional, it must be stuck to the command. Reflect this in the documentation. Signed-off-by: Matthieu Moy --- Documentation/git-grep.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: Unable to create temporary file '/var/git/tmv3-target-overlay.git/shallow_Un8ZOR': Permission denied

2015-09-19 Thread Joakim Tjernlund
On Sat, 2015-09-19 at 09:21 +0700, Duy Nguyen wrote: > On Thu, Sep 17, 2015 at 11:54 PM, Joakim Tjernlund > wrote: > > On Thu, 2015-09-17 at 20:18 +0700, Duy Nguyen wrote: > > > On Mon, Sep 14, 2015 at 10:37 PM, Joakim Tjernlund > > >

Re: Unable to create temporary file '/var/git/tmv3-target-overlay.git/shallow_Un8ZOR': Permission denied

2015-09-19 Thread Johannes Schindelin
Hi Duy, On 2015-09-19 04:21, Duy Nguyen wrote: > On Thu, Sep 17, 2015 at 11:54 PM, Joakim Tjernlund > wrote: >> On Thu, 2015-09-17 at 20:18 +0700, Duy Nguyen wrote: >>> On Mon, Sep 14, 2015 at 10:37 PM, Joakim Tjernlund >>> wrote:

[no subject]

2015-09-19 Thread 戸島達哉
subscribe git -- 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 v2 0/3] Clarify the documentation of options with optional arguments

2015-09-19 Thread Jeff King
On Sat, Sep 19, 2015 at 09:47:47AM +0200, Matthieu Moy wrote: > Changes since v2: > > * Typo in commit message > > * key-id -> keyid in more places. Not so important, but we had cases > where SYNOPSYS was saying key-id and the full doc keyid, let's make > it more uniform (and more