Jan Krüger jast

jast pushed to master at jast/gitinfo

  • e9123e0e17 plugins/graph: .gitgraph: simplify colour parsing Now popping the colour name off the string and processing it happens in a single step, making for better error location in the error message if the colour name is wrong. Signed-off-by: Jan Krüger <jk@jk.gs>

2 months ago

jast pushed to master at jast/gitinfo

  • e461d8cae7 plugins/graph: .gitgraph: stop after first parse error For the sake of simplicity we'll still parse the rest, but after the first error we'll stop complaining to avoid spamming multiple lines of errors. Signed-off-by: Jan Krüger <jk@jk.gs>
  • 206612a8c6 plugins/graph: .gitgraph: stop after first parse error For the sake of simplicity we'll still parse the rest, but after the first error we'll stop complaining to avoid spamming multiple lines of errors. Signed-off-by: Jan Krüger <jk@jk.gs>
  • View comparison for these 2 commits »

2 months ago

jast pushed to master at jast/gitinfo

  • 206612a8c6 plugins/graph: .gitgraph: stop after first parse error For the sake of simplicity we'll still parse the rest, but after the first error we'll stop complaining to avoid spamming multiple lines of errors. Signed-off-by: Jan Krüger <jk@jk.gs>

2 months ago

jast pushed to master at jast/gitinfo

  • 5ef370dd6d plugins/graph: .gitgraph: support commit colouring This adds support for 11 different background colours for commit nodes. Let's hope that nobody is actually going to use all of them at once. Signed-off-by: Jan Krüger <jk@jk.gs>
  • 912e0fe081 plugins/graph: .gitgraph: support commit colouring This adds support for 11 different background colours for commit nodes. Let's hope that nobody is actually going to use all of them at once. Signed-off-by: Jan Krüger <jk@jk.gs>
  • View comparison for these 2 commits »

2 months ago

jast pushed to master at jast/gitinfo

  • 912e0fe081 plugins/graph: .gitgraph: support commit colouring This adds support for 11 different background colours for commit nodes. Let's hope that nobody is actually going to use all of them at once. Signed-off-by: Jan Krüger <jk@jk.gs>

2 months ago

jast pushed to master at jast/gitinfo-web

  • 595f56742d gitgraph: document edge styling Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo

  • a1aeee6d1e plugins/graph: .gitgraph: support some edge styling * Support dim/dashed/dotted edges * Allow dimming rewritten commits (A'?) * Refactor node rendering to reuse common attributes between different node types Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo-web

  • 99549194c8 gitgraph: document edge labels and fix info about "edge" command * The "edge" command doesn't actually force a link anymore since it wants to apply to an existing edge. * "edge"'s "label" looks half-decent now so document it. Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo

  • befda09d16 plugins/graph: .gitgraph: revert edge labels from "xlabel" This actually looks terrible if there are other edges nearby. Normal labels force a lot more room for the label in layouting. Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo-web

  • 9db4c8f37f gitgraph: document ellipses * Show how to render an ellipsis in a commit sequence * Move the example-less remarks to the bottom for clarity * Make it clearer that the last three examples are part of an arc of sorts Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo

  • c6e67205ef plugins/graph: gitgraph: support elliptical commits When a commit's label is "...", render it differently to suggest that this is a placeholder for multiple commits. Allow dots in bare strings to make this easier to use. Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo-web

  • 0409a881cd gitgraph: fix ordering in example Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo-web

3 years ago

jast pushed to master at jast/gitinfo-web

  • dbbe52a6f4 gitgraph: add example(s) for "up" Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo

  • a080a5294a plugins/graph: .gitgraph: add "up" command and improve "align" * Allow multiple uses of "align" - each use will define its own set of constraints * New "up" command lets you constrain a set of edges to be above a base/reference edge. For instance, "up A B C" puts B and C above A. * Extend comment about keyword abbreviations Signed-off-by: Jan Krüger <jk@jk.gs>
  • 9b6c913513 plugins/graph: .gitgraph: support commit rewriting for dimmed commits Given a rewritten commit `A'`, if we can't find commit `A` to link it to, also try commit `A?`. Signed-off-by: Jan Krüger <jk@jk.gs>
  • View comparison for these 2 commits »

3 years ago

jast pushed to master at jast/gitinfo-web

  • a2e6aacf6b gitgraph: document "align" I also added a re-rendered graph for the rebase because after removing the rank constraint on the "commit rewritten" links, it now looks much cleaner. Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo

  • d9348e871a plugins/graph: tweaks to .gitgraph * Add new "align" command to align a list of nodes to the same rank * Group nodes in same cluster just to be safe * Hint that we want packing by clusters * Improve how edge labels are handled * Put the edge label on the original edge, rather than forcing a new one * Use "xlabel" to potentially remove the layout * Render them a little smaller * Force rendering all the xlabels * Improve commit rewrite links * Disable rank constraints so the layout engine can better untangle all the lines * Render as dotted lines for better visual clarity Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo-web

  • da6b25a05b gitgraph: improve explanation of examples * Add paragraph tags * Re-order some bullet points to better align with the flow of the corresponding examples * Clarify the last example a little better, and explain some odds and ends while we're at it Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo-web

  • ae2bbcdba8 gitgraph: add line breaks to examples for clarity Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago

jast pushed to master at jast/gitinfo-web

  • a4cb2a65c1 gitgraph: fix thinko in grammar definition edge attrs I basically copied this over from the commit attrs but edge attrs don't actually use the square brackets because they don't help disambiguate anything in this situation. Signed-off-by: Jan Krüger <jk@jk.gs>

3 years ago