<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masawada</author_name>
  <author_url>https://blog.hatena.ne.jp/masawada/</author_url>
  <blog_title>あんパン</blog_title>
  <blog_url>https://masawada.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>編集してまだgit addしてないやつをもう一度開きたいとき，いちいち探るの面倒なので作った．多分この世に既にごまんとあると思う． gitのサブコマンドとして作るならこんな感じ FILE_PATH=$(git diff --name-only | peco) if [ ${#FILE_PATH} -ne 0 ]; then $EDITOR $(git rev-parse --show-toplevel)/$FILE_PATH fi zshの関数として作るならこんな感じ function peco-git-editdiff { local dir=$(git diff --name-only |…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasawada.hatenablog.jp%2Fentry%2F2016%2F06%2F13%2F123825&quot; title=&quot;git diffで差分のあるファイルを一瞬で開くやつ - あんパン&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-06-13 12:38:25</published>
  <title>git diffで差分のあるファイルを一瞬で開くやつ</title>
  <type>rich</type>
  <url>https://masawada.hatenablog.jp/entry/2016/06/13/123825</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
