Re: bash completion with 2.18.0/maint: unknown options

2018-07-14 Thread Дилян Палаузов
Hello Jeff, thanks for your answer. You are right: I have forgotten to run 'make install'. After doing so the completion works again. type git reports /usr/local/bin/git Regards Дилян On Sat, 2018-07-14 at 17:24 -0400, Jeff King wrote: > On Sat, Jul 14, 2018 at 02:46:17PM +0000, Ди

bash completion with 2.18.0/maint: unknown options

2018-07-14 Thread Дилян Палаузов
Hello, in /git/git I have v2.18.0 and in ~/.bashrc : export PS1='${debian_chroot:+($debian_chroot)}\[\e[01;32m\]\u@\h\[\e[00m\]:\[\ e[ 01;34m\]\w\[\e[36m\]$(__git_ps1 " %s")\$ \[\e[0m\]' source /git/git/contrib/completion/git-completion.bash source /git/git/contrib/completion/git-prompt.sh

Re: Worktree silently deleted on git fetch/gc/log

2018-03-02 Thread Дилян Палаузов
r as I know, there isn't any code in Git which would automatically remove the .git/worktrees/B directory, so it's not clear how that happened. "git worktree prune" does, which is called by "git gc" and that was actually executed from the command output in the original mail. Дилян

Re: Worktree silently deleted on git fetch/gc/log

2018-03-01 Thread Дилян Палаузов
Hello, /git/A/.git/worktrees/b/ is missing - that is the point. /git/B/,git wasn't modified since the worktree was created, cat: gitdir: /git/A/.git/worktrees/b Regards Дилян On 03/01/18 19:09, Eric Sunshine wrote: On Wed, Feb 28, 2018 at 7:44 AM, Дилян Палаузов <dilyan.pa

Worktree silently deleted on git fetch/gc/log

2018-02-28 Thread Дилян Палаузов
Hello, with git 2.16.2 I have two repositories: A (branch master) and B (branch g) which is a worktree of the first. This has always forked fine until yesterday, when I did: /git/B g>$ git fetch remote: Counting objects: 29, done. remote: Compressing objects: 100% (6/6), done. remote: Total

Re: git grep -P fatal: pcre_exec failed with error code -8

2017-11-05 Thread Дилян Палаузов
one. Regards Dilian On 11/05/2017 03:16 AM, Jeff King wrote: On Sun, Nov 05, 2017 at 01:06:21AM +0100, Дилян Палаузов wrote: with git 2.14.3 linked with libpcre.so.1.2.9 when I do: git clone https://github.com/django/django cd django git grep -P "if.*([^\s])+\s+and\s+\1&qu

git grep -P fatal: pcre_exec failed with error code -8

2017-11-04 Thread Дилян Палаузов
Hello, with git 2.14.3 linked with libpcre.so.1.2.9 when I do: git clone https://github.com/django/django cd django git grep -P "if.*([^\s])+\s+and\s+\1" django/contrib/admin/static/admin/js/vendor/select2/select2.full.min.js the output is: fatal: pcre_exec failed with error code -8

[PATCH] Remove useless assignments

2017-05-20 Thread Дилян Палаузов
Signed-off-by: Дилян Палаузов <git-...@aegee.org> diff --git a/archive.c b/archive.c index 60b889198..e2534d186 100644 --- a/archive.c +++ b/archive.c @@ -503,7 +503,7 @@ int write_archive(int argc, const char **argv, const char *prefix, init_tar_archiver(); init_zip_ar

Re: git and the Clang Static Analyzer

2017-05-08 Thread Дилян Палаузов
Hello Johannes, I compiled git/master ... which advances from time to time, so you definitely want to include a more informative data point here, e.g. 4fa66c85f11 (Git 2.13-rc2, 2017-05-04) ... The 4fa66c85f11 you mentioned is part of the URL I sent. Please note, that the information is

git clone -b

2017-05-08 Thread Дилян Палаузов
Hello, why do these work: git clone --bare -b 3.5 https://github.com/python/cpython A git clone -b 3.6 A B git clone -b 3.5 https://github.com/python/cpython C but these not: git clone -b 3.6 C D git clone --no-local -b 3.6 C D with git version 2.12.2.89.g49800c940? Regards Дилян

git and the Clang Static Analyzer

2017-05-07 Thread Дилян Палаузов
Hello, I compiled git/master using the clang 4.0 static analyzer with scan-build ./configure --with-libpcre --with-openssl scan-build make and here are the results: https://mail.aegee.org/dpa/scan-build-git-4fa66c85f11/ Please note, that the information is only about what gets actually

git log --ignore-space-change -L start,end:file does not ignore indentation changes

2017-04-23 Thread Дилян Палаузов
Hello, $ git version git version 2.12.2.89.g49800c940 $ git init Initialized empty Git repository in .git/ $ cat a.c int main() { int result; } $git add a.c $git commit -m I [master (root-commit) ef9ab63] I 1 file changed, 3 insertions(+) create mode 100644 a.c $cat a.c # now the

[PATCH] ./configure.ac: Detect SSL in libcurl using curl-config

2016-06-28 Thread Дилян Палаузов
be calling curl_version_info and checking the returned struct. This patch removes the check for the Curl_ssl_init exported symbol from libcurl and uses curl-config to detect SSL support in libcurl. Signed-Off-By: Дилян Палаузов <git-...@aegee.org> --- configure.ac | 21 +++--

git-completion.bash emitting error messages

2016-03-04 Thread Дилян Палаузов
Hello, I use ./bash 4.3.42 with bundled libreadline and git/contrib/completion/git-completion.bash , as modified by commit 8716bdca268 from 22 Feb 2016. I cd to git.git (non-bare, with working tree) and type git b62c.. ori to force TAB-completion. And then on the shell comes the output

diff --minimal versus --diff-algorithm=minimal

2015-11-25 Thread Дилян Палаузов
Hello, after I put in ~/.config/git "[diff] algorithm=histogram", and called "git diff --minimal" I expect from git to use algorithm=minimal. But it uses histogram, unless I call "--diff-algorithm=minimal". According to the documentation, however, --minimal and --diff-algorithm=minimal

git pull git gc

2015-03-18 Thread Дилян Палаузов
Hello, I have a local folder with the git-repository (so that its .git/config contains ([remote origin]\n url = git://github.com/git/git.git\nfetch = +refs/heads/*:refs/remotes/origin/* ) I do there git pull. Usually the output is Already up to date but since today it prints Auto

Re: git pull git gc

2015-03-18 Thread Дилян Палаузов
--expire 2.weeks.ago # git count-objects -v count: 6039 size: 65464 in-pack: 185432 packs: 1 size-pack: 46687 prune-packable: 0 garbage: 0 size-garbage: 0 Regards Dilian On 18.03.2015 15:16, Duy Nguyen wrote: On Wed, Mar 18, 2015 at 8:53 PM, Дилян Палаузов dilyan.palau...@aegee.org wrote

Re: git pull git gc

2015-03-18 Thread Дилян Палаузов
Hello Duy, #ls .git/objects/17/* | wc -l 30 30 * 256 = 7 680 6 700 And now? Do I have to run git gc --aggressive ? Kind regards Dilian On 18.03.2015 15:33, Duy Nguyen wrote: On Wed, Mar 18, 2015 at 9:23 PM, Дилян Палаузов dilyan.palau...@aegee.org wrote: Hello, # git gc --auto Auto

[PATCH] Remove duplicate #include

2015-02-13 Thread Дилян Палаузов
deheader (git://gitorious.org/deheader/deheader.git) found out that some .c files #include twice one and the same header file. This patch removes such occurrences and hence speeds up the compilation. Signed-off-by: Дилян Палаузов git-...@aegee.org --- builtin/fetch.c| 1 - trailer.c

git log --graph --color inconsistency

2014-03-22 Thread Дилян Палаузов
Hello, I use git version 1.9.1 . With git clone git://github.com/pocoproject/poco.git cd poco git log --graph --color=always and scrolling a bit, I see http://mail.aegee.org/dpa/git-log-graph-color/git-log-graph-color.png . My expectation is, that one branch keeps its color consistent

Re: [PATCH] configure.ac: link with -liconv for locale_charset()

2014-03-11 Thread Дилян Палаузов
Hello, this changes effectively the meaning of CHARSET_LIB to always/unconditionally contain the library with the charset_locale () function. The snippet at the end of the email updates the description in /Makefile . However, I checked now how gnulib deals with locale_charset (). Contary

typo in Documentation/git-rebase.txt

2013-04-06 Thread Дилян Палаузов
Hello, please change in Documentation/git-rebase.txt, as of v1.8.2-470-g21ccebe, for --ignore-whitespace and --whitespace, line 326 from These flag are passed to the 'git apply' program to (add an 's') These flags are passed to the 'git apply' program and in the same file,