Feature Request: Add diff.word-diff and perhaps diff.word-diff-regex configuration options to enable always using word-diffs in git diff

2018-04-14 Thread Doron Behar
I've just came across the wonderful command line option for `git diff`:
`--word-diff`. It could be great to have a configuration option that
will enable this feature by default when running `git diff`.


signature.asc
Description: PGP signature


[BUG] git init doesn't respect `--template` like configuration variable init.templateDir and $GIT_TEMPLATE_DIR

2018-02-14 Thread Doron Behar
The title says it all.

If I run `git init --template=~/path/to/my/template` I get the following
message:

warning: templates not found ~/path/to/my/template

But, if I run:

$ env GIT_TEMPLATE_DIR=~/path/to/my/template git init

I don't get a warning and the template is used just fine.

If I configure the configuration variable `init.templateDir` to
`~/path/to/my/template` and run `git init` I don't get a warning and the
template is used just fine.




signature.asc
Description: PGP signature


imap-send with gmail: curl_easy_perform() failed: URL using bad/illegal format or missing URL

2017-11-29 Thread Doron Behar
Hi,

I'm trying to send a patch with the command `git imap-send`, I used the
examples in the manual page as the main reference for my configuration:

```
[imap]
folder = "[Gmail]/Drafts"
host = imaps://imap.gmail.com
user = doron.be...@gmail.com
port = 993
sslverify = false
```

This is my `cat patch.out | git imap-send` output:

```
Password for 'imaps://doron.be...@gmail.com@imap.gmail.com':
sending 3 messages
curl_easy_perform() failed: URL using bad/illegal format or missing URL
```

The URI doesn't seem OK to me, I tried using `imap.user = doron.behar` and the
URI was `imaps://doron.be...@imap.gmail.com` but that ended up with the same
error as in the previous case.

I would love to get some help here, a Google Search didn't help as well.

Thanks.