Single brackets matching in .gitignore rules

2015-09-26 Thread Andrey Loskutov
Hi, I'm trying to make JGit .gitignore parser compatible to Git behavior and need help to understand some corner cases. Git seem to fail to match file names if the ignore rule contain a single bracket '[' and seem to have inconsistent behavior for a single ']'. For all experiments below I was u

Re: [RFC/PATCH v1] Add Travis CI support

2015-09-26 Thread Shawn Pearce
On Fri, Sep 25, 2015 at 11:52 AM, Jeff King wrote: > On Fri, Sep 25, 2015 at 11:29:31AM -0700, Junio C Hamano wrote: > >> > So I wonder if it would be >> > helpful to have a microformat that the client would use to look at this. >> > E.g., it would fetch the cert tree, then confirm that the curre

Re: git commit -a -m is not working

2015-09-26 Thread brian m. carlson
On Sat, Sep 26, 2015 at 09:51:12PM +0300, Alex Radulescu wrote: > Hi, > > This command is not working. Any advice? > > Alex:testGit Alex$ git commit -a -m 'made a change' > > On branch v1.0 > > Untracked files: > > new_branch.txt > > nothing added to commit but untracked files present git co

git commit -a -m is not working

2015-09-26 Thread Alex Radulescu
Hi, This command is not working. Any advice? Alex:testGit Alex$ git commit -a -m 'made a change' On branch v1.0 Untracked files: new_branch.txt nothing added to commit but untracked files present -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to maj

Re: [RFC/PATCH v1] Add Travis CI support

2015-09-26 Thread Lars Schneider
On 25 Sep 2015, at 10:05, Luke Diamand wrote: > On 25 September 2015 at 08:27, Johannes Schindelin > wrote: >> Hi, >> >> On 2015-09-25 05:14, Dennis Kaarsemaker wrote: >>> On do, 2015-09-24 at 17:41 -0700, Junio C Hamano wrote: larsxschnei...@gmail.com writes: > My idea is that

[PATCH v8 3/7] git-p4: return an empty list if a list config has no values

2015-09-26 Thread larsxschneider
From: Lars Schneider Signed-off-by: Lars Schneider --- git-p4.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-p4.py b/git-p4.py index 40ad4ae..90d3b90 100755 --- a/git-p4.py +++ b/git-p4.py @@ -638,6 +638,8 @@ def gitConfigList(key): if not _gitConfig.has_key(key): s

[PATCH v8 2/7] git-p4: add gitConfigInt reader

2015-09-26 Thread larsxschneider
From: Lars Schneider Add a git config reader for integer variables. Please note that the git config implementation automatically supports k, m, and g suffixes. Signed-off-by: Lars Schneider --- git-p4.py | 11 +++ 1 file changed, 11 insertions(+) diff --git a/git-p4.py b/git-p4.py ind

[PATCH v8 6/7] git-p4: add support for large file systems

2015-09-26 Thread larsxschneider
From: Lars Schneider Perforce repositories can contain large (binary) files. Migrating these repositories to Git generates very large local clones. External storage systems such as Git LFS [1], Git Fat [2], Git Media [3], git-annex [4] try to address this problem. Add a generic mechanism to dete

[PATCH v8 1/7] git-p4: add optional type specifier to gitConfig reader

2015-09-26 Thread larsxschneider
From: Lars Schneider The functions “gitConfig” and “gitConfigBool” are almost identical. Make “gitConfig” more generic by adding an optional type specifier. Use the type specifier “—bool” with “gitConfig” to implement “gitConfigBool. This prepares the implementation of other type specifiers such

[PATCH v8 5/7] git-p4: check free space during streaming

2015-09-26 Thread larsxschneider
From: Lars Schneider git-p4 will just halt if there is not enough disk space while streaming content from P4 to Git. Add a check to ensure at least 4 times (arbitrarily chosen) the size of a streamed file is available. Signed-off-by: Lars Schneider --- git-p4.py | 18 ++ 1 file

[PATCH v8 7/7] git-p4: add Git LFS backend for large file system

2015-09-26 Thread larsxschneider
From: Lars Schneider Add example implementation including test cases for the large file system using Git LFS. Pushing files to the Git LFS server is not tested. Signed-off-by: Lars Schneider --- git-p4.py | 72 t/t9824-git-p4-git-lfs.sh | 288

[PATCH v8 4/7] git-p4: add file streaming progress in verbose mode

2015-09-26 Thread larsxschneider
From: Lars Schneider If a file is streamed from P4 to Git then the verbose mode prints continuously the progress as percentage like this: //depot/file.bin 20% (10 MB) Upon completion the progress is overwritten with depot source, local file and size like this: //depot/file.bin --> local/file.bin

[PATCH v8 0/7] git-p4: add support for large file systems

2015-09-26 Thread larsxschneider
From: Lars Schneider diff to v7: * fix commit message line length (thanks Junio) * fix sync command for large file system support (thanks Luke!) * add test case for sync command * rename git-p4.pushLargeFiles to git-p4.largeFilePush for consistency with other git-p4.largeFile* configs * fix rel