Hi all,
I've just installed the Git bundle (on Tiger), and I keep getting those error messages :
Git log => /tmp/temp_textmate.U9qQdq:4: command not found: git log _notes.markdown
Gits status => sh: line 2: git: command not found /tmp/temp_textmate.j2NZhz:4: command not found: git ls-files -o --exclude-per-directory=.gitignore /tmp/temp_textmate.j2NZhz:4: command not found: git ls-files -m --exclude-per-directory=.gitignore
Note: when I run those commands in the terminal, they work fine.
Alain
On Dec 12, 2007, at 10:03 AM, Alain Ravet wrote:
Hi all,
I've just installed the Git bundle (on Tiger), and I keep getting those error messages :
See: http://macromates.com/textmate/manual/shell_commands#search_path
Especially the part past "Important".
On Dec 12, 2007 9:45 PM, Michael Sheets mummer@whitefalls.org wrote:
See: http://macromates.com/textmate/manual/shell_commands#search_path Especially the part past "Important".
It worked fine. Thanks Michael.
Alain
Alain Ravet wrote:
On Dec 12, 2007 9:45 PM, Michael Sheets mummer@whitefalls.org wrote:
See: http://macromates.com/textmate/manual/shell_commands#search_path Especially the part past "Important".
It worked fine. Thanks Michael.
Alain
I ran into this problem too, because I have git in a non-standard location.
I found that while it can be overridden in SCM::Git with the TM_GIT variable, the "Commit...", "Show Log" and "Revert" commands don't use this value.
Below is a patch that makes these commands use the value of @git in SCM::Git. If it seems good, please let me know what I should do to get this applied to the tree.
Thanks,
Michael
Index: Git.tmbundle/Commands/Show Log.tmCommand =================================================================== --- Git.tmbundle/Commands/Show Log.tmCommand (revision 8798) +++ Git.tmbundle/Commands/Show Log.tmCommand (working copy) @@ -22,7 +22,7 @@ colors = %w[ white lightsteelblue ]
file = if path == base then '.' else git.shorten(path, base) end - open("|git log #{e_sh file}") do |io| + open("|#{git.git} log #{e_sh file}") do |io| io.read.scan(/^commit (.+)$\n((?:\w+: .*\n)*)((?m:.*?))(?=^commit|\z)/) do |e| commit, msg = $1, $3 headers = $2.scan(/(\w+):\s+(.+)/) Index: Git.tmbundle/Commands/Revert….tmCommand =================================================================== --- Git.tmbundle/Commands/Revert….tmCommand (revision 8798) +++ Git.tmbundle/Commands/Revert….tmCommand (working copy) @@ -23,7 +23,7 @@ Dir.chdir(base)
paths.each do |e| - puts %x{git checkout #{e_sh git.shorten(e, base)}} + puts %x{#{git.git} checkout #{e_sh git.shorten(e, base)}} end
git.rescan_project Index: Git.tmbundle/Commands/Commit….tmCommand =================================================================== --- Git.tmbundle/Commands/Commit….tmCommand (revision 8798) +++ Git.tmbundle/Commands/Commit….tmCommand (working copy) @@ -54,7 +54,7 @@
unless files.empty? puts "<h2>Result:</h2>" - res = %x{git commit -m #{e_sh msg} #{files.map { |e| e_sh e }.join(' ')}} + res = %x{#{git.git} commit -m #{e_sh msg} #{files.map { |e| e_sh e }.join(' ')}} puts "<pre>#{htmlize(res)}</pre>" end </string>
On 18 Jan 2008, at 22:49, Michael Melanson wrote:
Alain Ravet wrote:
On Dec 12, 2007 9:45 PM, Michael Sheets mummer@whitefalls.org wrote:
See: http://macromates.com/textmate/manual/shell_commands#search_path Especially the part past "Important".
It worked fine. Thanks Michael. Alain
I ran into this problem too, because I have git in a non-standard location.
I found that while it can be overridden in SCM::Git with the TM_GIT variable, the "Commit...", "Show Log" and "Revert" commands don't use this value.
Below is a patch that makes these commands use the value of @git in SCM::Git. If it seems good, please let me know what I should do to get this applied to the tree.
Thanks, I have committed the patch.
Once again, just a reminder for anyone who would like to use it:
I have added quite a few new features on my clone of the repository, like show specific revision, git stash/clear/apply/show, show changes, and the likes. I've also improved upon the git commit dialog to behave in a much more natural fashion.
Now, I know noone needs to use it, but it's there, and if you'd like to clone it, this command should do it:
git clone git@gitorious.org:git-tmbundle/mainline.git
You'll need to rename the folder it creates to "Git.tmbundle"
Tim
On Feb 3, 2008, at 5:03 AM, Allan Odgaard wrote:
On 18 Jan 2008, at 22:49, Michael Melanson wrote:
Alain Ravet wrote:
On Dec 12, 2007 9:45 PM, Michael Sheets mummer@whitefalls.org wrote:
See: http://macromates.com/textmate/manual/shell_commands#search_path Especially the part past "Important".
It worked fine. Thanks Michael. Alain
I ran into this problem too, because I have git in a non-standard location.
I found that while it can be overridden in SCM::Git with the TM_GIT variable, the "Commit...", "Show Log" and "Revert" commands don't use this value.
Below is a patch that makes these commands use the value of @git in SCM::Git. If it seems good, please let me know what I should do to get this applied to the tree.
Thanks, I have committed the patch.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
I would love to try it but the git repo is asking me for a password when cloning:
Initialized empty Git repository in /Library/Application Support/TextMate/mainline/.git/ git@gitorious.org's password:
Thanks Martin
On 05/02/2008, Tim Harper timcharper@gmail.com wrote:
Once again, just a reminder for anyone who would like to use it:
I have added quite a few new features on my clone of the repository, like show specific revision, git stash/clear/apply/show, show changes, and the likes. I've also improved upon the git commit dialog to behave in a much more natural fashion.
Now, I know noone needs to use it, but it's there, and if you'd like to clone it, this command should do it:
git clone git@gitorious.org:git-tmbundle/mainline.git
You'll need to rename the folder it creates to "Git.tmbundle"
Tim
On Feb 3, 2008, at 5:03 AM, Allan Odgaard wrote:
On 18 Jan 2008, at 22:49, Michael Melanson wrote:
Alain Ravet wrote:
On Dec 12, 2007 9:45 PM, Michael Sheets mummer@whitefalls.org wrote:
See: http://macromates.com/textmate/manual/shell_commands#search_path Especially the part past "Important".
It worked fine. Thanks Michael. Alain
I ran into this problem too, because I have git in a non-standard location.
I found that while it can be overridden in SCM::Git with the TM_GIT variable, the "Commit...", "Show Log" and "Revert" commands don't use this value.
Below is a patch that makes these commands use the value of @git in SCM::Git. If it seems good, please let me know what I should do to get this applied to the tree.
Thanks, I have committed the patch.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Martin,
Try cloning with this url:
git://gitorious.org/git-tmbundle/mainline.git
Tim
On Feb 5, 2008, at 4:47 PM, Martin Ström wrote:
I would love to try it but the git repo is asking me for a password when cloning:
Initialized empty Git repository in /Library/Application Support/ TextMate/mainline/.git/ git@gitorious.org's password:
Thanks Martin
On 05/02/2008, Tim Harper timcharper@gmail.com wrote:
Once again, just a reminder for anyone who would like to use it:
I have added quite a few new features on my clone of the repository, like show specific revision, git stash/clear/apply/show, show changes, and the likes. I've also improved upon the git commit dialog to behave in a much more natural fashion.
Now, I know noone needs to use it, but it's there, and if you'd like to clone it, this command should do it:
git clone git@gitorious.org:git-tmbundle/mainline.git
You'll need to rename the folder it creates to "Git.tmbundle"
Tim
On Feb 3, 2008, at 5:03 AM, Allan Odgaard wrote:
On 18 Jan 2008, at 22:49, Michael Melanson wrote:
Alain Ravet wrote:
On Dec 12, 2007 9:45 PM, Michael Sheets mummer@whitefalls.org wrote:
See: http://macromates.com/textmate/manual/shell_commands#search_path Especially the part past "Important".
It worked fine. Thanks Michael. Alain
I ran into this problem too, because I have git in a non-standard location.
I found that while it can be overridden in SCM::Git with the TM_GIT variable, the "Commit...", "Show Log" and "Revert" commands don't use this value.
Below is a patch that makes these commands use the value of @git in SCM::Git. If it seems good, please let me know what I should do to get this applied to the tree.
Thanks, I have committed the patch.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- burnfield.com/martin
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Works, thanks!
On 06/02/2008, Tim Harper timcharper@gmail.com wrote:
Martin,
Try cloning with this url:
git://gitorious.org/git-tmbundle/mainline.git
Tim
On Feb 5, 2008, at 4:47 PM, Martin Ström wrote:
I would love to try it but the git repo is asking me for a password when cloning:
Initialized empty Git repository in /Library/Application Support/ TextMate/mainline/.git/ git@gitorious.org's password:
Thanks Martin
On 05/02/2008, Tim Harper timcharper@gmail.com wrote:
Once again, just a reminder for anyone who would like to use it:
I have added quite a few new features on my clone of the repository, like show specific revision, git stash/clear/apply/show, show changes, and the likes. I've also improved upon the git commit dialog to behave in a much more natural fashion.
Now, I know noone needs to use it, but it's there, and if you'd like to clone it, this command should do it:
git clone git@gitorious.org:git-tmbundle/mainline.git
You'll need to rename the folder it creates to "Git.tmbundle"
Tim
On Feb 3, 2008, at 5:03 AM, Allan Odgaard wrote:
On 18 Jan 2008, at 22:49, Michael Melanson wrote:
Alain Ravet wrote:
On Dec 12, 2007 9:45 PM, Michael Sheets mummer@whitefalls.org wrote: > See: http://macromates.com/textmate/manual/shell_commands#search_path > Especially the part past "Important". It worked fine. Thanks Michael. Alain
I ran into this problem too, because I have git in a non-standard location.
I found that while it can be overridden in SCM::Git with the TM_GIT variable, the "Commit...", "Show Log" and "Revert" commands don't use this value.
Below is a patch that makes these commands use the value of @git in SCM::Git. If it seems good, please let me know what I should do to get this applied to the tree.
Thanks, I have committed the patch.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- burnfield.com/martin
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate