{"thread":{"id":"34198","subject":"use gitignore implementation in shell bash","startedAt":"2013-06-18T15:45:55Z","lastAt":"2013-06-18T16:59:53Z","messageCount":2,"participants":["László Lajos Jánszky","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"221242","messageId":"CA+=RcCrAnNoFbu1VGnFLpubOkss1VyyfdumJiVcJ0G0z+tB6sQ@mail.gmail.com","threadId":"34198","inReplyTo":null,"subject":"use gitignore implementation in shell bash","fromName":"László Lajos Jánszky","fromEmail":"laszlo.janszky@gmail.com","sentAt":"2013-06-18T15:45:55Z","receivedAt":"2013-06-18T15:45:55Z","isPatch":false,"sender":{"key":"laszlo.janszky@gmail.com","avatar":null},"body":"Hi!\n\nI have a question about gitignore.\n\nThere is a git extension called git ftp, written by René:\nhttps://github.com/resmo in bash. This extension uses git to push only\nthe changed files to the ftp server. Currently this extension uses\ngrep to decide which file is ignored by upload. It uses a config file\ncalled .git-ftp-ignore which contains the regex patterns. I was\nwondering it will be better if we could use a gitignore style config\nfile, and I found an issue for there:\nhttps://github.com/resmo/git-ftp/issues/191#issuecomment-14647798 Now\nwe are discussing about how is that possible.. If anybody can help in\nthat it would be awesome! I thought there is a slightly chance to use\nthe original .gitignore implementation for that. Is that possible\nsomehow?\n\nIf you want to contribute, or you have an answer please write into the\nlinked issue: https://github.com/resmo/git-ftp/issues/191\nThe developer of the project cannot see this mail list, I am just an\nuser of his product...\n\nMany Thanks!\nLaszlo Janszky\n"},{"id":"221263","messageId":"7vhagv5p86.fsf@alter.siamese.dyndns.org","threadId":"34198","inReplyTo":"CA+=RcCrAnNoFbu1VGnFLpubOkss1VyyfdumJiVcJ0G0z+tB6sQ@mail.gmail.com","subject":"Re: use gitignore implementation in shell bash","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-06-18T16:59:53Z","receivedAt":"2013-06-18T16:59:53Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"László Lajos Jánszky  <laszlo.janszky@gmail.com> writes:\n\n> There is a git extension called git ftp, written by René:\n> https://github.com/resmo in bash. This extension uses git to push only\n> the changed files to the ftp server. Currently this extension uses\n> grep to decide which file is ignored by upload.\n\nTwo possibilities that come to mind are the \"git ls-files\" (read the\ndoc and find the option to have it read .gitignore file) command,\nand the \"git check-ignore\" command.\n"}]}