)]}'
{
  "commit": "b47288152eef10d39744fd633e43e3722d910b12",
  "tree": "7839a980cea6aa5bf6557f1b09dfaf038c5631d3",
  "parents": [
    "db7a8163e47bd66cd0817981dde3ab215aa51b7b"
  ],
  "author": {
    "name": "Klaus Aehlig",
    "email": "aehlig@google.com",
    "time": "Mon Feb 29 09:53:48 2016 +0000"
  },
  "committer": {
    "name": "Kristina Chodorow",
    "email": "kchodorow@google.com",
    "time": "Mon Feb 29 17:39:54 2016 +0000"
  },
  "message": "Add wrapper class around AnsiTerminalWriter that breaks lines\n\nIn order to update Bazel\u0027s progress bar, the old one has to be removed\nfirst; this requires knowledge about the number of lines it currently\nuses. For small terminals, this requires us to take line breaks into\naccount. While this normally works well, there are situations where our\nbelieve about the terminal width is smaller that the actual width of the\nterminal, causing the deletion of too many lines. This wrapper class provides\na solution for this case by explicitly breaking lines at the given width.\n\n--\nChange-Id: I9d33e389730568ab8c15ee082594de9b35abb71c\nReviewed-on: https://bazel-review.googlesource.com/#/c/3023\nMOS_MIGRATED_REVID\u003d115827354\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "66c6d3b4c2add816336e565289232e5eacc9eb65",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/util/io/LineWrappingAnsiTerminalWriter.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5be5aa5a9f75ddc007fc0389e69eee15d049b17a",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/util/io/LineWrappingAnsiTerminalWriterTest.java"
    }
  ]
}
