Bug: git add --patch does not honor "diff.noprefix"

2018-12-06 Thread Christian Weiske
Hi,


When running "git add -p" on git version 2.19.2 and "diff.noprefix" set
to true, it still shows the "a/" and "b/" prefixes.

This issue has been reported in 2016 already[1], but is still there in
2.19.2.


[1]
https://public-inbox.org/git/e1d7329a-a54b-4d09-a72a-62eca8005...@gmail.com/T/

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-


Re: git svn clone clone php/pear/Net_LDAP2 misses tags and branches

2015-10-25 Thread Christian Weiske
Hello Edmundo,


> Using -r single-revision-number (against tha same repo), I was not
> able to pull much (on that revision only the standard layout was set
> up so nothing would come out for git)

It's actually the standard layout here; I only used the single
parameters to rule out problems with --stdlayout.


> Did you try with -r revision-number:HEAD?

Good idea. I tried it, and now I have the tags and branches:

$ git svn clone --stdlayout
  https://svn.php.net/repository/pear/packages/Net_LDAP2
  -r 255346:HEAD
...

$ cd Net_LDAP2
$ git br -a
* master
  remotes/origin/implementingPagedSearches_PHP5.4
  remotes/origin/tags/Net_LDAP2-2.0.10
  remotes/origin/tags/Net_LDAP2-2.0.12
...
  remotes/origin/trunk

Thanks!


Is there a way to convert the tags branches into real tags
automatically?


-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-


signature.asc
Description: PGP signature


git svn clone clone php/pear/Net_LDAP2 misses tags and branches

2015-10-25 Thread Christian Weiske
Hi,


Using git 2.6.2 to clone an SVN repository misses out branches and tags.

The clone command:

$ git svn clone --trunk=trunk --tags=tags --branches=branches
  --prefix=origin/
  https://svn.php.net/repository/pear/packages/Net_LDAP2 -r 255346

The final repository's tag and branch list is empty.

There are tags and branches, though - see the web interface at
http://svn.php.net/viewvc/pear/packages/Net_LDAP2/

What am I doing wrong here?

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-


signature.asc
Description: PGP signature


Re: git svn clone clone php/pear/Net_LDAP2 misses tags and branches

2015-10-25 Thread Christian Weiske
Hello Christian,


> > Did you try with -r revision-number:HEAD?
> 
> Good idea. I tried it, and now I have the tags and branches:

Unfortunately, the tag branches only have a single commit and have no
relation to the trunk branch:

$ git log --oneline origin/tags/Net_LDAP2-2.0.12
0bc9db1 Tagging the 2.0.12 release
$

What can I do against that?

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-


signature.asc
Description: PGP signature


git clone --recursive and URL overrides

2015-07-17 Thread Christian Weiske
Hi,


I'm setting some URL overrides via
 -c foo.insteadof=bar
to git clone --recursive, but they are not used in the subsequent
submodule requests on git 1.9.1.

Is this expected behavior, or a bug?

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-= Geeking around in the name of science since 1982 =-
--
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