Commit graph

28 commits

Author SHA1 Message Date
sin 50dccf0e3b Rename Refs/branches to Refs 2016-01-13 18:57:18 +00:00
Hiltjo Posthuma 934980659a implify and restructure code
- remove commit message and lines changed from refs page.
- resolve HEAD once.
- dont make filepath in writeblob()
2016-01-08 20:08:40 +01:00
Hiltjo Posthuma 3cc1509656 atom: add newline after date and before message 2016-01-07 17:37:25 +01:00
Hiltjo Posthuma ede4982f67 strip .git suffix from name
also free stripped_name in the case of stagit-index
2016-01-06 20:06:06 +01:00
Hiltjo Posthuma db02820a17 extra whitespace 2016-01-06 20:06:06 +01:00
Hiltjo Posthuma 9978fecb18 refs: only make commit link work for tags 2016-01-06 19:13:51 +01:00
Hiltjo Posthuma 512a31e81f free obj 2016-01-06 19:11:11 +01:00
Hiltjo Posthuma 650d6c903c old leftover: dont create log dir 2016-01-06 18:53:51 +01:00
Hiltjo Posthuma aa3b813f14 cleanup code a bit 2016-01-06 18:53:51 +01:00
Hiltjo Posthuma 87360fe252 use git_reference for tags and branches, sort branches also
this removes some lines and somewhat simplifies it
2016-01-06 17:45:02 +01:00
Hiltjo Posthuma c750958b95 fix cast to uintmax_t 2016-01-06 16:04:37 +01:00
Hiltjo Posthuma d045340ea0 lookup commits of annotated tags
NOTE: as described in the TODO this will be rewritten more cleanly
      later using git_reference_*.
2016-01-06 15:35:34 +01:00
Hiltjo Posthuma 9128782aa8 fix warning, use intmax_t %ju, thanks stateless! 2016-01-06 15:19:26 +01:00
Hiltjo Posthuma 35a3d9b3fc fix relpath for log 2016-01-05 21:43:26 +01:00
Hiltjo Posthuma f373cc7235 clone url is one line, strip newline 2016-01-05 21:43:14 +01:00
Hiltjo Posthuma e51ec34dbe refs: fix table id for tags 2016-01-05 21:42:51 +01:00
Hiltjo Posthuma 48a09a0f10 refs: remove link, it may be broken for non-HEAD 2016-01-05 21:42:34 +01:00
Hiltjo Posthuma a6b29cbbd9 make hunk line itself a link 2016-01-05 21:42:10 +01:00
Hiltjo Posthuma 4f318941d0 revert log.html to log/head.html change 2016-01-05 21:04:07 +01:00
Hiltjo Posthuma 200ccad8b5 fix newline after header 2016-01-05 21:03:39 +01:00
Hiltjo Posthuma 444e41b315 fix link to commit from log page 2016-01-04 23:55:39 +01:00
Hiltjo Posthuma a89e756c9e stagit: fix hunk header, thanks uggedal for reporting! 2016-01-04 23:41:40 +01:00
Hiltjo Posthuma f96ac27087 no log per branch
rename log.html to log/HEAD.html, small code cleanup
2016-01-03 22:36:48 +01:00
Hiltjo Posthuma 043609742f rename refs to refs/branches 2016-01-03 21:45:53 +01:00
Hiltjo Posthuma a83a75bb18 refs: add link to log per branch 2016-01-03 21:21:30 +01:00
Hiltjo Posthuma 465d72a6d2 refs: dont make a table when there are no tags, add spacing between 2016-01-03 21:15:13 +01:00
Hiltjo Posthuma e10f79ad2a add refs page (branches and tags)
quite some code is added, this will be cleaned up in a following code iteration.

- make sure to free some more allocated git objects.
- use fputs() asmuch as possible instead of fprintf().
- code cleanup
2016-01-03 21:06:03 +01:00
Hiltjo Posthuma ef3f1ef854 add stagit.c 2015-12-26 21:07:47 +01:00