git can't find none
Hi,
I've recently discovered that some git command stopped working. I'm not sure if this is related to my git tree or not, it happens on other trees too:
$ git blame Makefile sh: none: command not found
'none' ?
$ git clone ... Works fine.
This is on gentoo using gentoo provided ebuild for git (I even tied reemerging git package with no avail).
$ git --version git version 1.5.6.4
Signature · 7 lines
ČETRTA POT, d.o.o., Kranj Planina 3 4000 Kranj Slovenia, Europe Tel. +386 (0) 4 280 66 03 E-mail: [email protected] Http: www.cetrtapot.si
Quoted 8 lines · Hinko Kocevar
Hi,
I've recently discovered that some git command stopped working. I'm not sure if this is related to my git tree or not, it happens on other trees too:
$ git blame Makefile sh: none: command not found'none' ?
Quoted 8 lines
$ git clone ... Works fine.This is on gentoo using gentoo provided ebuild for git (I even tied reemerging git package with no avail).
$ git --version git version 1.5.6.4
ou,
forgot to attach strace output if anyone can see what is going on.
Thank you,
Hinko
Signature · 7 lines
ČETRTA POT, d.o.o., Kranj Planina 3 4000 Kranj Slovenia, Europe Tel. +386 (0) 4 280 66 03 E-mail: [email protected] Http: www.cetrtapot.si
execve("/usr/bin/git", ["git", "status"], [/* 42 vars */]) = 0
brk(0) = 0x814e000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=78249, ...}) = 0mmap2(NULL, 78249, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f1d000
close(3) = 0open("/usr/lib/libcurl.so.4", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\221\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=244612, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f1c000 mmap2(NULL, 243932, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ee0000 mmap2(0xb7f1a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a) = 0xb7f1a000
close(3) = 0open("/lib/libz.so.1", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\25\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=71064, ...}) = 0mmap2(NULL, 73976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ecd000 mmap2(0xb7ede000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0xb7ede000
close(3) = 0open("/usr/lib/libcrypto.so.0.9.8", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\317\3\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0555, st_size=1294876, ...}) = 0mmap2(NULL, 1307384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d8d000
mmap2(0xb7eb4000, 86016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb7eb4000 mmap2(0xb7ec9000, 13048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ec9000
close(3) = 0open("/lib/libc.so.6", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@a\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1237276, ...}) = 0mmap2(NULL, 1242576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c5d000 mmap2(0xb7d87000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7d87000 mmap2(0xb7d8a000, 9680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d8a000
close(3) = 0open("/lib/librt.so.1", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=30552, ...}) = 0mmap2(NULL, 33356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c54000 mmap2(0xb7c5b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7c5b000
close(3) = 0open("/usr/lib/libssl.so.0.9.8", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\305\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0555, st_size=266084, ...}) = 0mmap2(NULL, 265016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c13000 mmap2(0xb7c50000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3d) = 0xb7c50000
close(3) = 0open("/lib/libdl.so.2", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9612, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c12000 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c0e000 mmap2(0xb7c10000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7c10000
close(3) = 0open("/lib/libpthread.so.0", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20H\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=118357, ...}) = 0mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7bf7000
mmap2(0xb7c0a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7c0a000
mmap2(0xb7c0c000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7c0c000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bf6000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7bf68d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7c0a000, 4096, PROT_READ) = 0
mprotect(0xb7c10000, 4096, PROT_READ) = 0
mprotect(0xb7c50000, 4096, PROT_READ) = 0
mprotect(0xb7c5b000, 4096, PROT_READ) = 0
mprotect(0xb7d87000, 8192, PROT_READ) = 0
mprotect(0xb7eb4000, 32768, PROT_READ) = 0
mprotect(0xb7ede000, 4096, PROT_READ) = 0
mprotect(0xb7f1a000, 4096, PROT_READ) = 0
mprotect(0x8106000, 4096, PROT_READ) = 0
mprotect(0xb7f4b000, 4096, PROT_READ) = 0
munmap(0xb7f1d000, 78249) = 0
set_tid_address(0xb7bf6918) = 30293
set_robust_list(0xb7bf6920, 0xc) = 0rt_sigaction(SIGRTMIN, {0xb7bfb310, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0xb7bfb390, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 uname({sys="Linux", node="alala", ...}) = 0
brk(0) = 0x814e000
brk(0x816f000) = 0x816f000
getcwd("/tmp/sdk", 4096) = 9stat64(".git", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0access(".git/objects", X_OK) = 0access(".git/refs", X_OK) = 0lstat64(".git/HEAD", {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 open(".git/HEAD", O_RDONLY|O_LARGEFILE) = 3read(3, "ref: refs/heads/master\n", 255) = 23
read(3, "", 232) = 0
close(3) = 0
access("/etc/gitconfig", R_OK) = -1 ENOENT (No such file or directory)stat64(".git", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/home/hinkok/.gitconfig", R_OK) = 0 open("/home/hinkok/.gitconfig", O_RDONLY|O_LARGEFILE) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=155, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000 read(3, "[user]\n\temail = hinkocevar@gmail"..., 4096) = 155
read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7f30000, 4096) = 0
open(".git/config", O_RDONLY|O_LARGEFILE) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000 read(3, "[core]\n\trepositoryformatversion "..., 4096) = 244
read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7f30000, 4096) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0access("/etc/gitconfig", R_OK) = -1 ENOENT (No such file or directory)access("/home/hinkok/.gitconfig", R_OK) = 0 open("/home/hinkok/.gitconfig", O_RDONLY|O_LARGEFILE) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=155, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000 read(3, "[user]\n\temail = hinkocevar@gmail"..., 4096) = 155
read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7f30000, 4096) = 0
open(".git/config", O_RDONLY|O_LARGEFILE) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000 read(3, "[core]\n\trepositoryformatversion "..., 4096) = 244
read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7f30000, 4096) = 0 pipe([3, 4]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7bf6918) = 30294 dup2(3, 0) = 0 close(3) = 0 close(4) = 0 select(1, [0], NULL, [0], NULL) = 1 ()
--- SIGCHLD (Child exited) @ 0 (0) ---execve("/usr/bin/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/home/hinkok/bin/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/work/tools/bin/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/usr/local/bin/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/usr/bin/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/bin/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/opt/bin/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/usr/i486-pc-linux-gnu/gcc-bin/4.1.2/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/usr/i686-pc-linux-gnu/gcc-bin/4.1.2/none", ["none"...], [/* 42 vars */]) = -1 ENOENT (No such file or directory) execve("/bin/sh", ["sh"..., "-c"..., "none"...], [/* 42 vars */]) = 0
brk(0) = 0x80ed000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=78249, ...}) = 0mmap2(NULL, 78249, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f14000
close(3) = 0open("/lib/libncurses.so.5", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\364\0\0004\0\0\0"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size=266136, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f13000mmap2(NULL, 267076, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ed1000mmap2(0xb7f09000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38) = 0xb7f09000mmap2(0xb7f12000, 836, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f12000
close(3) = 0open("/lib/libdl.so.2", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\0004\0\0\0"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size=9612, ...}) = 0mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ecd000mmap2(0xb7ecf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7ecf000
close(3) = 0open("/lib/libc.so.6", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@a\1\0004\0\0\0"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size=1237276, ...}) = 0mmap2(NULL, 1242576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d9d000mmap2(0xb7ec7000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7ec7000mmap2(0xb7eca000, 9680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eca000
close(3) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d9c000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d9c6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7ec7000, 8192, PROT_READ) = 0
mprotect(0xb7ecf000, 4096, PROT_READ) = 0
mprotect(0xb7f09000, 32768, PROT_READ) = 0
mprotect(0x80e2000, 4096, PROT_READ) = 0
mprotect(0xb7f42000, 4096, PROT_READ) = 0
munmap(0xb7f14000, 78249) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3) = 0
brk(0) = 0x80ed000
brk(0x810e000) = 0x810e000
getuid32() = 1000
getgid32() = 1000
geteuid32() = 1000
getegid32() = 1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
time(NULL) = 1222687397
open("/proc/meminfo", O_RDONLY) = 3fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f27000read(3, "MemTotal: 4079432 kB\nMemFre"..., 1024) = 754
close(3) = 0munmap(0xb7f27000, 4096) = 0rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0rt_sigaction(SIGINT, {SIG_DFL}, {SIG_IGN}, 8) = 0rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_IGN}, 8) = 0uname({sys="Linux", node="alala", ...}) = 0stat64("/tmp/sdk", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0getpid() = 30293getppid() = 30292stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0stat64("/usr/bin/sh", 0xbfb429e8) = -1 ENOENT (No such file or directory)stat64("/home/hinkok/bin/sh", 0xbfb429e8) = -1 ENOENT (No such file or directory) stat64("/work/tools/bin/sh", 0xbfb429e8) = -1 ENOENT (No such file or directory) stat64("/usr/local/bin/sh", 0xbfb429e8) = -1 ENOENT (No such file or directory)stat64("/usr/bin/sh", 0xbfb429e8) = -1 ENOENT (No such file or directory)stat64("/bin/sh", {st_mode=S_IFREG|0755, st_size=651148, ...}) = 0 open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3read(3, "65536\n", 31) = 6
close(3) = 0mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d5b000 getgroups32(65536, [7, 10, 14, 18, 19, 27, 80, 85, 100, 411, 1000, 1003]) = 12 stat64("/bin/sh", {st_mode=S_IFREG|0755, st_size=651148, ...}) = 0getpgrp() = 30292rt_sigaction(SIGCHLD, {0x807b8d5, [], 0}, {SIG_DFL}, 8) = 0 getrlimit(RLIMIT_NPROC, {rlim_cur=38400, rlim_max=38400}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0stat64("/usr/bin/none", 0xbfb428c8) = -1 ENOENT (No such file or directory)stat64("/home/hinkok/bin/none", 0xbfb428c8) = -1 ENOENT (No such file or directory) stat64("/work/tools/bin/none", 0xbfb428c8) = -1 ENOENT (No such file or directory) stat64("/usr/local/bin/none", 0xbfb428c8) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/none", 0xbfb428c8) = -1 ENOENT (No such file or directory)
stat64("/bin/none", 0xbfb428c8) = -1 ENOENT (No such file or directory)
stat64("/opt/bin/none", 0xbfb428c8) = -1 ENOENT (No such file or directory)stat64("/usr/i486-pc-linux-gnu/gcc-bin/4.1.2/none", 0xbfb428c8) = -1 ENOENT (No such file or directory) stat64("/usr/i686-pc-linux-gnu/gcc-bin/4.1.2/none", 0xbfb428c8) = -1 ENOENT (No such file or directory) rt_sigaction(SIGINT, {SIG_IGN}, {SIG_IGN}, 8) = 0rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_IGN}, 8) = 0rt_sigaction(SIGCHLD, {SIG_DFL}, {0x807b8d5, [], 0}, 8) = 0fstat64(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f27000 write(2, "sh: none: command not found\n", 28) = 28exit_group(127) = ?
Quoted 7 lines · Hinko Kocevar
Hi,
I've recently discovered that some git command stopped working. I'm not sure if this is related to my git tree or not, it happens on other trees too:
$ git blame Makefile sh: none: command not found'none' ?
Try
$ git --no-pager blame Makefile
and if that works, correct your setting of PAGER or GIT_PAGER, e.g.
$ export GIT_PAGER=cat
-- Hannes
Quoted 7 lines · Johannes Sixt
Quoted 6 lines · Hinko Kocevar
Hi,
I've recently discovered that some git command stopped working. I'm not sure if this is related to my git tree or not, it happens on other trees too:
$ git blame Makefile sh: none: command not found
Quoted 5 lines
Quoted 1 line
'none' ?
Try
$ git --no-pager blame Makefile
It works! yes.
Quoted 4 lines
and if that works, correct your setting of PAGER or
GIT_PAGER, e.g.$ export GIT_PAGER=cat
I don't want any pager. I've set the config property to 'none' instead to "":
$ git-config core.pager ""
Thank you,
Hinko
Signature · 7 lines
ČETRTA POT, d.o.o., Kranj Planina 3 4000 Kranj Slovenia, Europe Tel. +386 (0) 4 280 66 03 E-mail: [email protected] Http: www.cetrtapot.si