Skip to content

Instantly share code, notes, and snippets.

View mgalgs's full-sized avatar
🍔
pizza

Mitchel Humpherys mgalgs

🍔
pizza
View GitHub Profile
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
diff --git a/magit.el b/magit.el
index 4b3c1fa..c03146c 100644
--- a/magit.el
+++ b/magit.el
@@ -1076,12 +1076,14 @@ Read `completing-read' documentation for the meaning of the argument."
(insert (magit-cmd-output cmd args)))
(defun magit-cmd-output (cmd args)
+ (message "no problem here")
(with-output-to-string
diff --git a/magit.el b/magit.el
index 4b3c1fa..c03146c 100644
--- a/magit.el
+++ b/magit.el
@@ -1076,12 +1076,14 @@ Read `completing-read' documentation for the meaning of the argument."
(insert (magit-cmd-output cmd args)))
(defun magit-cmd-output (cmd args)
+ (message "no problem here")
(with-output-to-string
diff --git a/magit.el b/magit.el
index 4b3c1fa..949365b 100644
--- a/magit.el
+++ b/magit.el
@@ -1076,12 +1076,19 @@ Read `completing-read' documentation for the meaning of the argument."
(insert (magit-cmd-output cmd args)))
(defun magit-cmd-output (cmd args)
- (with-output-to-string
- (with-current-buffer standard-output
(defun magit-perf-log (msg)
"Log a msg to the magit perf log"
(flet ((message (&rest args) (ignore)))
(with-temp-buffer
(insert msg)
(append-to-file (point-min)
(point-max)
"/tmp/magit-perf-log.txt"))))
(defun magit-cmd-output (cmd args)
diff --git a/magit.el b/magit.el
index 4b3c1fa..4d5a108 100644
--- a/magit.el
+++ b/magit.el
@@ -1075,13 +1075,29 @@ Read `completing-read' documentation for the meaning of the argument."
(defun magit-cmd-insert (cmd args)
(insert (magit-cmd-output cmd args)))
+(defun magit-perf-log (msg)
+ "Log a msg to the magit perf log"
#
# Automatically generated file; DO NOT EDIT.
# Buildroot 2013.08-git-00447-g748b45a Configuration
#
BR2_HAVE_DOT_CONFIG=y
BR2_HOSTARCH_NEEDS_IA32_LIBS=y
# BR2_arcle is not set
# BR2_arceb is not set
BR2_arm=y
# BR2_armeb is not set
configure:3373: checking whether the C compiler works
configure:3395: /tmp/buildroot-buildroot-linaro-udev/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lrt >&5
/tmp/buildroot-buildroot-linaro-udev/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/../../../../arm-linux-gnueabihf/bin/ld: warning: libpthread.so.0, needed by /tmp/buildroot-buildroot-linaro-udev/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/arm-linux-gnueabihf/librt.so, not found (try using -rpath or -rpath-link)
/tmp/buildroot-buildroot-linaro-udev/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `pthread_detach@GLIBC_2.4'
/tmp/buildroot-buildroot-linaro-udev/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `pthread_barrier_wait@GLIBC_