Re: [git-users] On bash doing git add '' some-existing-file troubles
From: Guilherme guibuf...@gmail.com The problem here is not the LF to CRLF conversion i know where that comes from. The problem is that doing git add '' CDD/CDD_Diag.c results in a message about another file which was clearly not my intention to add. When I experiment, git add '' seems to have the same effect as git add ., which is not surprsing. The problem is that you're invoking git-add with arguments whose effect is not specified. The solution is not to invoke git-add with a zero-character argument. Dale -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] On bash doing git add '' some-existing-file troubles
# wor...@alum.mit.edu / 2014-11-17 10:21:55 -0500: From: Guilherme guibuf...@gmail.com git add '' CDD/CDD_Diag.c When I experiment, git add '' seems to have the same effect as git add ., which is not surprsing. (i'm not the OP) it *is* very much surprising, at least if you're used to deal with quality command line interfaces. The problem is that you're invoking git-add with arguments whose effect is not specified. the problem is that the git-add command line does not specify its behavior fully. The solution is not to invoke git-add with a zero-character argument. no, that's a workaround. guibufolo: there are some live wires coming out of the wall here. worley: just don't touch them, that's the solution! -- roman -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] On bash doing git add '' some-existing-file troubles
Hello Roman, Ok, so you and i have pretty much the same opinion. This behaviour is undocumented and i'd say dangerous. I will file a bug report. Thank you all for your help. On Mon, Nov 17, 2014 at 5:04 PM, Roman Neuhauser neuhau...@sigpipe.cz wrote: # wor...@alum.mit.edu / 2014-11-17 10:21:55 -0500: From: Guilherme guibuf...@gmail.com git add '' CDD/CDD_Diag.c When I experiment, git add '' seems to have the same effect as git add ., which is not surprsing. (i'm not the OP) it *is* very much surprising, at least if you're used to deal with quality command line interfaces. The problem is that you're invoking git-add with arguments whose effect is not specified. the problem is that the git-add command line does not specify its behavior fully. The solution is not to invoke git-add with a zero-character argument. no, that's a workaround. guibufolo: there are some live wires coming out of the wall here. worley: just don't touch them, that's the solution! -- roman -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] On bash doing git add '' some-existing-file troubles
Hi, The problem here is not the LF to CRLF conversion i know where that comes from. The problem is that doing git add '' CDD/CDD_Diag.c results in a message about another file which was clearly not my intention to add. Cheers, Gui On Fri, Nov 14, 2014 at 8:26 PM, Philip Oakley philipoak...@iee.org wrote: - Original Message - From: G B To: git-users@googlegroups.com Sent: Friday, November 14, 2014 4:29 PM Subject: [git-users] On bash doing git add '' some-existing-file troubles Hello, I posted on Stackoverflow http://stackoverflow.com/questions/26933761/python-sh-module-and-git-try-to-add-more-files-then-in-command/26934517#26934517 a problem i was having with python sh. It turns out to be a problem with git add. When executing git add '' some-existing-file it sees the empty argument and tries to add a random(?) file. Is this by design or should i file a bug? Thank you. GB, you should inlcude all the information. It's likely to be a problem elsewhere. I've added a comment to the SO question regarding your need to ensure that the CRLF 'fatal:' warning you are getting is resolved. -- Philip -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] On bash doing git add '' some-existing-file troubles
- Original Message - From: G B To: git-users@googlegroups.com Sent: Friday, November 14, 2014 4:29 PM Subject: [git-users] On bash doing git add '' some-existing-file troubles Hello, I posted on Stackoverflow http://stackoverflow.com/questions/26933761/python-sh-module-and-git-try-to-add-more-files-then-in-command/26934517#26934517 a problem i was having with python sh. It turns out to be a problem with git add. When executing git add '' some-existing-file it sees the empty argument and tries to add a random(?) file. Is this by design or should i file a bug? Thank you. GB, you should inlcude all the information. It's likely to be a problem elsewhere. I've added a comment to the SO question regarding your need to ensure that the CRLF 'fatal:' warning you are getting is resolved. -- Philip -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.